We can use the law of cosines for this. The law of cosines states that $c^2 = a^2 + b^2 - 2ab \cos C$, where $a$ and $b$ are the lengths of the sides of the triangle, $c$ is the length of the diagonal, and $C$ is the angle between the sides.
In our case, $a =
Show more…