ARCOS Function

Returns the arccosine.

Category: Trigonometric

Syntax

ARCOS (argument)

Required Argument

argument

specifies a numeric constant, variable, or expression.

Range between −1 and 1

Details

The ARCOS function returns the arccosine (inverse cosine) of the argument. The value that is returned is specified in radians.

Example

SAS Statement
Result
x=arcos(1);
0
x=arcos(0);
1.5707963268
x=arcos(-0.5);
2.0943951024