If this has been rejected as a homework effort on Fortran forums, you'll do better to follow the usual advice:
study your assignment, show your best effort on a Fortran forum such as comp.lang.fortran newsgroup if you still need assistance.
Please try to realize this by a FORTRAN program
如需更全面地了解编译器优化,请参阅优化注意事项.



Please try to realize this by a FORTRAN program
User can input a mathematical function, and then using this function, a program makes calculations.
Procedures:
a User will input a function (any one), e.g., f(x)=x**3+x;
b A program gets this function;
c User provides an “x” value.
d A program makes calculation and outputs the result.
Thanks!
jie.he@miun.se