ATAN

Syntax

ATAN (Data)

Description

The ATAN function returns the arc-tangent of Data. The result is the angle (in radians) whose tangent equals Data.

To convert from radians to degrees, multiply by 180 / PI( ). The PI function returns the value of PI.

Returns

The arc-tangent of Data.

Example

The following examples employ the ATAN built-in function:

  • ATAN(0.5) returns 0.463647609 (angle in radians).

  • ATAN(0.5) * 180 / PI( ) returns 26.5650511771 (angle in degrees).

  • ATAN(1) returns 0.7853981634 (angle in radians).

  • ATAN(1) * 180 / PI( ) returns 45 (angle in degrees).