Prove that $\vec p \cdot \vec q=|\vec p||\vec q|\cos a$, $a$ the angle between vector p and q.
I tried using law of cosines but I'm not supposed to do that since I need to prove law of cosines in the next exercise, also I think law of cosines is a consequence of this statement.