Law of cosines

The law of cosines relates a triangle’s side lengths to the cosine of one of its angles. It generalizes the Pythagorean theorem to non-right triangles.

Connect