sin
description
Syntax
DOUBLE sin(DOUBLE x)
返回x
的正弦值,x
为弧度值.
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