MySQL SIN Function

Example

Return the sine of a number:

SELECT SIN(2);

Definition and Usage

The SIN() function returns the sine of a number. Continue reading MySQL SIN Function

MySQL DEGREES Function

Example

Convert the radian value into degrees:

SELECT DEGREES(1.5);

Definition and Usage

The DEGREES() function converts a value in radians to degrees.

Note: See also the RADIANS() and PI() functions. Continue reading MySQL DEGREES Function

MySQL ATAN Function

Example

Return the arc tangent of a number:

SELECT ATAN(2.5);

Definition and Usage

The ATAN() function returns the arc tangent of one or two numbers. Continue reading MySQL ATAN Function