Strategy....
1⋄ find C=A−B
2⋄ find || A|| (magnitude of A)
3⋄ find ||C|| (magnitude of C)
4⋄ find A.C (dot product of A and C)
5⋄ use A.C=||A||.||C||. cosθ (dot product formula)
1⋄ ......................................................
Ax=3 ; Ay=2 ; Az=5
Bx=5 ; B5=−7 ; Bz=8
C=<(Ax−Bx),(Ay−By),(Az−Bz)>
C=<(3−5),(2+7),(5−8)
we obtain :
C=<−2,9,−3>
2⋄ ........................................................
||A||=√A2x+A2y+A2z=√32+22+52=√38
3⋄ ..........................................................
||C||=√c2x+C2y+C2z=√(−2)2+92+(−3)2
||C||=√4+81+9=√94
4⋄ ...........................................................
A⋅C=Ax⋅Cx+Ay⋅Cy+Az⋅Cz
A⋅C=3⋅(−2)+2⋅9+5⋅(−3)=−6+18−15
A⋅C=−3
5⋄ ............................................................
−3=√38⋅√94⋅cosθ
cosθ=−3√38⋅94
cosθ=−359.766
cosθ=0.0501957635
θ=87.12