Use the COT() function to determine the cotangent of a number: COT()
mysql> mysql> SELECT COT(22); +------------------+ | COT(22) | +------------------+ | 112.973210356432 | +------------------+ 1 row in set (0.00 sec) mysql>