# Cosine theorem

$$c^2=a^2+b^2-2ab\cos C.$$
Here $a,b,c$ are the sides of the triangle and $C$ is the angle between $a$ and $b$.