PHP sin() Function

The sin() function returns the sine of a number.

float sin ( float $arg )

sin() returns the sine of the arg parameter. The arg parameter is in radians.

Example -

ParameterDescription
argA value in radians

Return Values

The sine of arg