sin()

[Trigonometry]

Description

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

Syntax

sin(rad)

Parameters

rad: The angle in Radians (float).

Returns

The sine of the angle (double).

See also

  • Language cos()

  • Language tan()