# Tangent and Cotangent

This figure illustrates the output of the two functions tangent and cotangent on the unit circle.

Figure |
---|

Given the angle of a right triangle as input returns the ratio of the triangle's opposite side over its adjacent side.

Given the angle of a right triangle as input, returns the ratio of the adjacent side over the opposite side.