sin
Description
Syntax:
DOUBLE sin(DOUBLE x)
This function returns the sine of x
, where x
is in radians.
Example
mysql> select sin(0);
+----------+
| sin(0.0) |
+----------+
| 0 |
+----------+
mysql> select sin(1);
+--------------------+
| sin(1.0) |
+--------------------+
| 0.8414709848078965 |
+--------------------+
mysql> select sin(0.5 * Pi());
+-----------------+
| sin(0.5 * pi()) |
+-----------------+
| 1 |
+-----------------+
Keywords
SIN