sin

Syntax:

    #include <cmath>
    double sin( double arg );

The function sin() returns the sine of arg, where arg is given in radians. The return value of sin() will be in the range [-1,1]. If arg is infinite, sin() will return NAN and raise a floating-point exception.

Related Topics: acos, asin, atan, atan2, cos, cosh, sinh, tan, tanh