start page | rating of books | rating of authors | reviews | copyrights

JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

Math.sin() Function

Name

Math.sin() Function---compute a sine

Availability

Navigator 2.0, Internet Explorer 3.0

Synopsis

Math.sin(x)

Arguments

x

An angle, in radians.

Returns

The sine of x.

Description

Math.tan() computes and returns the sine of its numeric argument, which must be an angle specified in radians.

Usage

To convert degrees to radians, multiply by 0.017453293 (2pi/360).

See Also

"Math", "Math.asin()", "Math.cos()", "Math.tan()"


Previous Home Next
Math.round() Book Index Math.sqrt()

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell