sin

To calculate the sine

The function can be used to determine the sine of a number. The result is a numeric value between -1 and 1.

Syntax

sin(number)

Return

number

Example

sin(x) To calculate the sine of a number x.

sin(-0.25)

Result: -0.24740395925452294

sin(1)

Result: 0.8414709848078965

See also

asin, which calculates the arsine of a number.

Last updated