Vectors Flashcards
1
Q
How do you find the norm of a vector?
A
Sqrt of all components squared
2
Q
How do you find a unit vector in the direction of the original vector?
A
- 1/norm of vector, times by vector
- vector with a hat on
3
Q
How do you compute a.b?
A
eg (2,1) and (3,4)
2x3 + 1x4
6 + 4
10
4
Q
How would you find a vector that is perpendicular to two vectors, eg a and b?
A
Do a x b