SWiSH Player Support
SWF4 or later - Supported Internally
Syntax
Math.sin(x)
Arguments
x: A number or expression representing the angle in radians.
Returns
A number, the sine of (x).
Description
Calculates the sine of x. This will be a value from -1.0 to 1.0.
Sample
Math.sin(Math.PI / 2); // returns 1 (sin 90deg = 1)
Note: Requires Advanced Math Support. See here for more information
See Also
Math.acos(), Math.asin(), Math.atan(), Math.cos(), Math.cosdeg(), Math.sin(), Math.sindeg(), Math.tan() and Math.tandeg().