Syntax
double sin(
    double rad
);
ContentsIndex
PreviousUpNext
sin
Syntax
double sin(
    double rad
);
Description

Calculates the sine of an angle (in radians). The result will be between -1 and 1.

Parameters
Parameters 
Description 
double rad 
the angle in radians (float)  
Returns

the sine of the angle (double)

File

math.h

Group