Cosine

For a right triangle, cosine calculates the length of the adjacent side divided by the length of the hypotenuse.