how can i find angle between vectors
Answers
Answered by
0
I’m looking at all these answers and I feel they most are needlessly complicated.
The dot, or scalar product of two vectors are defined as
A * B = A B Cos(θ)
Cos(θ) = AB/AB
Assuming you have components of the two vectors:
A * B is A times the component of B in the direction of A (or the other way around)
Cos(θ) = AB/AB
AB is the magnitude of A times the magnitude of B.
InverseCosine(AB/AB) = θ
TL;DR
Inverse Cosine of: (Component A times Component B)/(The magnitudes multiplied together)
Hope helps
Similar questions