# Law of cosines

### Law of cosines

There are times when the Law of Sines cannot solve the triangle because we encounter a triangle with either one of the following two scenarios – SAS (Side-angle-side), or SSS (Side-Side-Side). What should we do then? We consider using the Law of Cosines, which is another formula that models the relationship between the sides and the angles of any triangle. In this section, we will learn about the concept and the usage of the Law of Cosines, also known as the Cosines Rule.