Functions

sin

Supported By

Syntax

[the] sin of factor

sin ( expression )

Factor and expression yield integers, numbers, or complexes.

Example

put the sin of 2 -- yields 0.909297

Description

The sin function returns the sine of the angle that is passed to it. The angle must be expressed in radians.

If the argument is an integer or a number, a number is returned. If the argument is a complex, a complex is returned.

Note

Radians can be converted to degrees with the toDegrees function, or by multiplying by 180 and dividing by pi. Degrees can be converted to radians with the toRadians function, or by multiplying by pi and dividing by 180.