Skip to content
Reference > Methods

sin(radians)

Definition

Double sin(Number radians)

Description

Returns the trigonometric sine (from -1 to 1) of an angle.

Parameter Definition

Name Type Description
radians Number Angle in radians

Examples

1
2
3
Double r1 = sin(0); // r1 == 0.0
Double r2 = sin(10); // r2 == -0.5440211108893698
Double r3 = sin(3); // r3 == 0.1411200080598672