Ted_Grendy
New member
- Joined
- Nov 11, 2018
- Messages
- 36
Hi all
I am trying to obtain the angle between two vectors from the dot product and cross product.
My vectors are:-
A = [4, -5, 6]
B = [-1, 5, 1]
From the dot product I get:-
A dot B = -23
Modulus A = Sqrt(77)
Modulus B = 3Sqrt(3)
Theta = arcos(-23/ Sqrt(77) * 3Sqrt(3))
Theta = 120.293
However with the Cross product I get:-
AXB = [-35, -10, 15]
Modulus AXB = 5Sqrt(62)
Modulus A = Sqrt(77)
Modulus B = 3Sqrt(3)
Theta = arsine(5Sqrt(62) / Sqrt(77) * 3Sqrt(3)]
Theta = 59.7065
I get two different answers - what I am doing wrong? can anyone help?
Thank you.
I am trying to obtain the angle between two vectors from the dot product and cross product.
My vectors are:-
A = [4, -5, 6]
B = [-1, 5, 1]
From the dot product I get:-
A dot B = -23
Modulus A = Sqrt(77)
Modulus B = 3Sqrt(3)
Theta = arcos(-23/ Sqrt(77) * 3Sqrt(3))
Theta = 120.293
However with the Cross product I get:-
AXB = [-35, -10, 15]
Modulus AXB = 5Sqrt(62)
Modulus A = Sqrt(77)
Modulus B = 3Sqrt(3)
Theta = arsine(5Sqrt(62) / Sqrt(77) * 3Sqrt(3)]
Theta = 59.7065
I get two different answers - what I am doing wrong? can anyone help?
Thank you.