ATN( number )
Returns the arc tangent value of the argument ‘number’ in radians.
1 2 |
PRINT ATN(2) 1.10715 |
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:
1 2 3 4 5 |
PRINT DEG(ATN(2)) 63.4349 PRINT DEG(1.10715) 63.435 |
See also:
COS
DEG
LOG
PI
SIN
SQR
TAN
Applies to:
CGCOLORMAX
CGMMSTICK
CGMICROBOARD
CGMICROMITE
Leave a Reply