ARCCOS

The ARCCOS function calculates the angle value (in radians) of a specified cosine.

Return Value

DECIMAL

Syntax

ARCCOS(expression)

Arguments

expression

An expression that contains the decimal value of a cosine.

Notes

Invalid Cosine Values

When you provide an ineligible value for the cosine expression (that is, a value greater than 1 or less than -1), ARCCOS returns a value of NA.

Examples

Example 7-16 Calculating the Arc of a Cosine

This example calculates the arc of a cosine that has a value of 0.54030. The statement

SHOW ARCCOS(.54030)

produces the following result.

1.00