Mega Code Archive

 
Categories / MySQL Tutorial / Math Numeric Functions
 

COT(X) returns the cotangent of X

mysql> mysql> SELECT COT(12); +------------------+ | COT(12)          | +------------------+ | -1.5726734063977 | +------------------+ 1 row in set (0.00 sec) mysql> SELECT COT(0); +--------+ | COT(0) | +--------+ |   NULL | +--------+ 1 row in set (0.00 sec) mysql>