sin


double sin(double x)

This function calculates the sine of its input value.

Parameters

double x

The value whose sine is calculated.

Returns

double

The sine of x.

Notes

The sine function returns a value between -1 and 1.