ACos

Description:              Calculates the trigonometric arc cosine in radians.

Returns:                    Numeric

Usage:                       Script or Steady State.

Format:                      ACos(X)

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

                                      Any numeric expression in the range –1 to +1.

 

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

Example:

radAngle = ACos(0);

degAngle = radAngle / π / 180;

{ In the example shown above, the value of degAngle will be 90.}

See Also:

ASin | ATan | Cos | Sin | Tan | Math Functions