you use the dot product to find the angle between two vectors
i forget exactly how to find the dot product itself but there are many websites that have the formula, just google it
basically if you have two vectors, you use the magnitudes of those vectors to find the dot product and then once you have the dot product you can find all this other cool shit
you use the dot product to find the angle between two vectors
i forget exactly how to find the dot product itself but there are many websites that have the formula, just google it
basically if you have two vectors, you use the magnitudes of those vectors to find the dot product and then once you have the dot product you can find all this other cool shit
Reply
Reply
Reply
Reply
a · b = axbx + ayby [+ azbz]
So: (5, 4) · (2, 8) = (5)(2) + (4)(8) = 10 + 32 = 42
(Hey! It really is the answer to life, the universe and everything!)
Angle between two vectors, a and b, remembering that |a| is the length of a:
θ = cos-1((a · b)/(|a||b|))
(which is derived, by the way, from the formula "a · b = |a||b|cosθ")
Reply
Reply
Leave a comment