For any triangle, the Law of Cosines says:
c2 = a2 + b2 − 2ab cos(C)
Where:
• a, b and c are the three sides of the triangle, and
• C is the angle opposite side c
It helps us solve triangles, especially useful when the triangle is not a right triangle.