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.
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.
Written by Jason Wehr : email@example.com and Maintained by John Mahaffy : firstname.lastname@example.org