The law of cosines, also known as the cosine formula or cosine rule, is a generalization of the Pythagorean theorem. It relates the lengths of the sides of any triangle: , where C is the angle opposite side c. When two sides and the angle between them (SAS) or all three sides (SSS) are known, the law of cosines can be used to find an unknown side or angle, respectively, in these cases.
Discover