In: Computer Science
Calculate the angle between the vectors u = {5, -2, 3} and v ={4,-5,7} give details.
First, calculate the dot product:{ 5-2,3}{4,-5,7} = -9
i e u ⋅ v
=−9
Next, find the lengths of the vectors:
u = √38
v=3/ √10
Finally, the angle is given by
cos x = -9/(√38× 3/√10)
or,x = arccos (-3√95//190)
or, x= 98.85°
Angel= arccos(-3√95/190)