Trigonometric functions are defined by proportions of distances within the orthogonal triangle.
sin() = a / c
cos() = b / c
tan() = a / b = sin() / cos()
cot() = b / a = 1 / tan() = cos() / sin()