Tan
Function Tan( numeric expression )
Returns the tangent of the angle numeric expression.
Syntax a = Tan( x )
Remarks
Tan will return the tangent of angle x where x is expressed in degrees.
Tan will return a value in the range -1.0 to 1.0
See Also:
Example Script
NUMBER pi = 3.141592654
PRINT pi
PRINT "Tangent of 45 degrees is "; TAN(pi *(180 / pi) / 4)
PRINT "Tangent of 45 degrees is "; TAN(45)
Script Output
3.141592654
Tangent of 45 degrees is 1
Tangent of 45 degrees is 1