Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function funImpl (valorX, valorY, aproxraiz, h) result (res)   
  2.     implicit none
  3.     real (kind = 8) :: res, valorX, valorY, aproxraiz, h, funcion
  4.    
  5.     res = valorY + h * (0.005_8 * log ((100000._8) / aproxraiz) * aproxraiz) - aproxraiz
  6. end function funImpl
  7.  
  8. function derFunImp (valorX, valorY, aproxraiz, h) result (res)
  9.     implicit none
  10.     real (kind = 8) :: res, valorX, valorY, aproxraiz, h, k, k2, funcion
  11.    
  12.     res = h * (0.005_8 * log (100000._8 / aproxraiz) - 0.005_8) - 1._8
  13. end function derFunImp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement