Find the angle between vectors u = [3,0] and v= [-1,1].
I found the following solution:
cosθ=(u⋅v) /‖u‖‖v‖=
(3⋅(-1) +0.1) / (√ (3^2+0^2) ⋅√((-1) ^2+1^2)) =-3/ (√9 √2).
However, the correct solution is -1/√2. What did I wrong? How do they find this soultion?
Peter K.
answered 01/03/20
Math / Statistics / Data Analytics
B= ‖v‖ = √2, ‖u‖ = √9, ‖u‖‖v‖ = 3√2; you made a mistake here.
A= (3⋅(-1) +0⋅1) = -3; it is multiplication not a decimal pt--just cosmetic.
A/B = -1/√2
Still looking for help? Get the right answer, fast.
OR
Find an Online Tutor Now
Choose an expert and meet online.
No packages or subscriptions, pay only for the time you need.