In PostgreSQL, cotd()
is a trigonometric function that returns the cotangent of the specified angle.
The angle is provided as an argument, specified in degrees.
In trigonometry, in a right triangle, the cotangent of an angle is the length of the adjacent side divided by the length of the opposite side.
Continue reading