Advertisement
Guest User

Untitled

a guest
Jul 5th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. real function minimum(a, b, func) ! Returns the minimum
  2. ! value of the function func(x) in the interval (a,b)
  3. real, intent(in) :: a, b
  4. interface
  5. real function func(x)
  6. real, intent(in) :: x
  7. end function func
  8. end interface
  9. real :: f,x
  10. :
  11. f = func(x)
  12. ! invocation of the user function.
  13. :
  14. end function minimum
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement