Math.sin()

Availability

Flash Player 5. In Flash Player 4, the methods and properties of the Math class are emulated using approximations and may not be as accurate as the non-emulated math functions supported by Flash Player 5.

Usage

Math.sin(x)

Parameters

x An angle measured in radians.

Returns

Number; the sine of the specified angle (between -1.0 and 1.0).

Description

Method; computes and returns the sine of the specified angle in radians. Use the information outlined in the Math class entry to calculate a radian.