This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

sin

Summary

Returns the sine of a number.

Syntax

Math.sin( radians )

Examples

var v1 = Math.sin(1.0);
document.write(v1);
// Output: 0.8414709848078965

Remarks

The radians argument is a numeric expression that contains an angle measured in radians.

The return value is the sine of the numeric argument.

See also

Other articles

Attributions