Previous Page | Next Page

Functions and CALL Routines

ARCOS Function



Returns the arccosine.
Category: Trigonometric

Syntax
Arguments
Details
Examples

Syntax

ARCOS (argument)


Arguments

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.


Examples

SAS Statements Results
x=arcos(1);
0
x=arcos(0);
1.5707963268
x=arcos(-0.5);
2.0943951024

Previous Page | Next Page | Top of Page