sin()

Returns the sine function value of the specified angle. The angle is specified in radians.

Syntax

sin(number)

Learn more about syntax conventions.

Parameters

Name Type Required Description
number real ✔️ The value in radians for which to calculate the sine.

Returns

The sine of number of radians.

Example

print sin(1)

Output

result
0.841470984807897