The trigonometric functions are useful for calculating lengths, arcs, and angles, as well as plotting curves and performing complex calculations involving waves.
SIN(X): Sine of X COS(X): Cosine of X TAN(X): Tangent of X COT(X): Cotangent of X
The radian is a unit of angular measure defined such that 180 degrees is equal to p (pi) radians. (The number p is represented in MySQL as PI().) To convert radians to degrees, you can use the DEGREES() function, and to convert from degrees to radians, use the RADIANS() function. The inverse trigonometric functions all return angle values expressed in radians: ASIN(X): Arcsine of X ACOS(X): Arccosine of X ATAN(X): Arctangent of X ATAN(X, Y) or ATAN2(X, Y): Arctangent of Y / X
blog comments powered by Disqus |