Hey guys, this is my first post here. So I'm learning FORTRAN, and I'm writing a trapezoidal integration program as a learning exercise. What I want to do is in addition to asking the user to input the range and precision of the calculations they'd like, I'd also like to be able to enter in the function itself. From what I can gather this is a fairly non-trivial process and I could use some help. Even just a general mode of attack that can set me on the right path would be helpful. Thanks in advance.