In Multivariable Calculus, the professor said that in order to compute the angle $x$ between two vectors $v$ and $w$, we use the formula: $\cos(x) = \frac{\vec{v} \cdot \vec{w}}{|\vec{v}| \cdot |\vec{w}|}$
He also mentioned "Projection" but I didn't understand much of it. The only thing I got was that we can create a right triangle by drawing a perpendicular line from one vector to the head of the other and compute the angle like that using $\cos$, but I don't understand why we're multiplying vectors, or dividing by their magnitudes…how do those operations make sense?
Also, in the specific example, the result of $\cos(x) = \frac{\vec{v} \cdot \vec{w}}{|\vec{v}| \cdot |\vec{w}|}$ ended up being $1/2 = \pi/2$. Where does $\pi/2$ come from here? I can't understand how we go from $1/2$ to $\pi/2$.
