We can use the law of cosines for this. The law of cosines states that for any triangle with sides of lengths a, b, and c, and an angle γ between sides a and b, the following equation holds:
\[c^2 = a^2 + b^2 - 2ab \cos(\gamma)\]
In this case, the sides of the
Show more…