The tan function works on REAL arguments only.
The tan function will take an argument whose value corresponds to an angle in radian form and return the value of tangent for that angle.
tan (x)
Where x must be a REAL argument whose value will be interpreted as an angle in radians.
There are no optional arguments to this functions.
The tan function is used in the following manner:
x = 45.0 pi = 3.1415926
x = x/180*pi ( Remember the angle must be in radians )
y = tan (x)
Naturally, the value that is returned will equal one.
lecture seven
Written by Jason Wehr : jcw142@psu.edu and Maintained by John Mahaffy : jhm@cac.psu.edu