sin

Calculates the sine.

double sin (double x);

Required Header
<math.h>

Return Value

This function returns the sine of a double in radians.

Parameters

x

  The value to be converted

Remarks

The sin function calculates the sine of x to 15 digits of precision.

Mathematics

See Also    asin, acos, atan, atan2, cos, tan sinh, cosh, tanh, cot