Returns thetangent of the input variable.
If x is an array, the result of TAN has the same dimensions, with each element containing the tangent of the corresponding element of x.
x = [-60, -30, 0, 30, 60] PRINT, TAN(x * !Dtor)
-1.73205 -0.577350 0.00000 0.577350 1.73205
For a list of other transcendental functions, see Transcendental Mathematical Functions in Volume 1 of this reference.