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. Allowed data types: float.

Returns

The sine of the angle. Data type: double.

See also

  • Language cos()

  • Language tan()