TAN( number )
Returns the tangent of the argument ‘number’ in radians.
PRINT TAN(3)
-0.142547
The range of radians is from -∏/2 (-1.5708) to ∏/2 (1.5708).
ATN is the inverse of TAN. If z = ATN(x), then x = TAN(z).
If you want the result in degrees:
PRINT DEG(TAN(3))
-8.16731
PRINT DEG(-0.142547)
-8.16731
See also:
ATN
COS
DEG
LOG
PI
SIN
SQR
Applies to:
CGCOLORMAX
CGMMSTICK
CGMICROBOARD
CGMICROMITE
Leave a Reply