Method Call Returns
Math.sin(a) Sine of an angle measuring a radians
Math.cos(a) Cosine of an angle measuring a radians
Math.tan(a) Tangent of an angle measuring a radians
Math.asin(a) Angle in radians whose sine is a (arcsine of a)
Math.acos(a) Angle in radians whose cosine is a (arccosine of a)
Math.atan(a) Angle in radians whose tangent is a (arctangent of a)
Math.atan2(y, x) Angle which, drawn from the origin, intersects the point (x, y) (arctangent of y/x)
|