Functions and CALL Routines |
Category: | Trigonometric |
Syntax | |
Arguments | |
Details | |
Examples |
Syntax |
ARCOS (argument) |
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 |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.