Question: how to calculate the angle of 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.