ATan

Description:              This function returns the trigonometric arc tangent in radians.

Returns:                    Numeric

Usage:                       Script or Steady State

Format:                      ATan(X)

Parameters:             X   { numeric }  { required }  { no default: }

                                                Any numeric expression.

Comments:   The returned angle is in radians. To convert an angle from radians to degrees, divide by  π / 180 or (approximately) 0.0174533.

Example:

radAngle = ATan(1);

degAngle = radAngle / π / 180;

The value of degAngle will be 45.

See Also:

ACos | ASin | Cos | Sin | Tan | Math Functions