Chapter Contents

Previous

Next
ARCOS

ARCOS



Returns the arccosine

Category: Trigonometric


Syntax
Arguments
Details
Examples

Syntax

ARCOS (argument)

Arguments

argument
is numeric.
Range: between -1 and 1


Details

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


Examples

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


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.