ATN

Function

ATN generates the angle whose tangent is specified by the argument.

Syntax

ATN(N)

Examples

A=ATN(0.6009)

Sets A equal to 0.541071 Radians, i.e. 31°

or

B=ATN(V)

sets B equal to ARCTAN of variable V

Remarks

The resultant angle is specified in radians.

To convert to degrees:

A=ATN(V)*180/PI

in the example above,

PRINT (ATN(0.6009)*360/(2*PI)

returns 31.0011