MySQL Tutorial/Math Numeric Functions/COS
COS(X) returns the cosine of X, where X is given in radians.
mysql>
mysql> SELECT COS(PI());
+-----------+
| COS(PI()) |
+-----------+
| -1 |
+-----------+
1 row in set (0.00 sec)
mysql>
mysql> SELECT COS(PI());
+-----------+
| COS(PI()) |
+-----------+
| -1 |
+-----------+
1 row in set (0.00 sec)