Professional Documents
Culture Documents
Dot product
Calculate the angle between two vectors a and b?
a · b = 9 × 4 + 2 × 8 + 7 × 10
a · b = 36 + 16 + 70
a · b = 122
But what is |a| ? It is the magnitude, or length, of the vector a. We can use :