PHYSICS 580 Spring 2005
Fortran Example #1 due
Write a short program to compute the first and second derivatives for tan(x). Input should include x and dx. Output should include comparison to exact result.
To make identification easier for me please use the convention lastname_ex1.f for your program. Also, your program should print out the following at the beginning:
This is fortran example 1.
Written by your name here.
to submit: first compress your file (this will help save formatting)
gzip lastname_ex1.f
this will produce a file lastname_example1.f.gz
attach this to an e-mail to: cjohnson@sciences.sdsu.edu