ATN Arc TaNgent
Function
ATN calculates the value of an angle from its tangent.
How to use ATN
ATN is followed by a numeric value. An expression must be enclosed in brackets, for example
60 LET x=ATN (y*z)
The value following ATN (y*z above) is the cosine of the required angle and may range from -1 to 1. ATN the returns the value of the angle in radians. To convert radians to degrees, multiply the value returned by ATN by 180/PI.
Example
The command
PRINT 180/PI * ATN 0.5
displays 45, the angle in degrees that has a tangent of 0.5.
Format
- ATN num-const
- ATN num-var
- ATN (num-expr)
See also