Back to Freecodecamp

Law of Cosines

curriculum/challenges/english/blocks/advanced-trig-conics/law-of-cosines-video.md

latest758 B
Original Source

--description--

In this video, you will learn about the Law of Cosines.

--questions--

--text--

What is the Law of Cosines?

--answers--

For any triangle with sides of length a, b, and c, and angle C opposite side c, the Law of Cosines states that $c^2 = a^2 + b^2 + 2ab\cos(C)$.


For any triangle with sides of length a, b, and c, and angle C opposite side c, the Law of Cosines states that $c = a + b - 2\cos(C)$.


For any triangle with sides of length a, b, and c, and angle C opposite side c, the Law of Cosines states that $c^2 = a^2 + b^2 - 2ab\cos(C)$.


For any triangle with sides of length a, b, and c, and angle C opposite side c, the Law of Cosines states that $c = a \cdot b \cdot 2\cos(C)$.

--video-solution--

3