acos(X)

Returns the arccosine (in radians) of the given value.

Syntax

acos(X)

Input

Argument Type Description
X any numeric type A numeric value

Return Value

Returns a decimal number corresponding to the inverse cosine, or arccosine, of X.
Note: The result is a measurement in radians.

If X is N/A, the result is N/A.

Sample Usage

X acos(X)
0 1.571
0.7071 0.7854
0.9969 0.0785
NA NA