Question: how to calculate the angle between two vectors?
Answer: The cosine of the angle between two vectors is equal to the dot product of this vectors divided by the product of vector magnitude.