Remember the formulas for dot product and cross product, and how to use the condition of perpendicularity for the angle between vectors. If $\vec{u}$ is perpendicular to $\vec{v}$, then the angle between them is $\frac{\pi}{2}$, and $\sin(\frac{\pi}{2}) = 1$.