Length of Side of Triangle as Cosines of Angles

Theorem
Let $\triangle ABC$ be a triangle whose sides $a, b, c$ are such that $a$ is opposite $A$, $b$ is opposite $B$ and $c$ is opposite $C$.

Then:
 * $c = a \cos B + b \cos A$