Previous Page | Next Page

Functions and CALL Routines

SIN Function



Returns the sine.
Category: Trigonometric

Syntax
Arguments
Examples

Syntax

SIN(argument)


Arguments

argument

specifies a numeric constant, variable, or expression and is expressed in radians. If the magnitude of argument is so great that mod(argument,pi) is accurate to less than about three decimal places, SIN returns a missing value.


Examples

SAS Statements Results
x=sin(0.5);
0.4794255386
x=sin(0);
0
x=sin(3.14159/4);
.7071063121

Previous Page | Next Page | Top of Page