Chapter Contents

Previous

Next
COS

COS



Returns the cosine

Category: Trigonometric


Syntax
Arguments
Examples

Syntax

COS (argument)

Arguments

argument
is numeric and is specified in radians.


Examples

SAS Statements Results
x=cos(0.5);
0.8775825619
x=cos(0);
1
x=cos(3.14159/3);
0.500000766


Chapter Contents

Previous

Next

Top of Page

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