RedKMan wrote:I'm really struggling to fully understand this,
Use the law of cosines C^2 = a^2 + b^2 = 2ab COS THETA to show that.
Ux Vx + Uy Vy + Uz Vz = ||U|| ||V|| COS THETA
Where a, b and c are the lengths of the sides of a triangle and theta is the angle between sides a and b. Hint, Set C^2 = || U - V ||, a^2 = ||U||^2 and b^2 = ||V||^2. Use the dot product properties.
In trigonometry, the law of cosines (also known as the cosine formula or cosine rule) is a statement about a general triangle that relates the lengths of its sides to the cosine of one of its angles. There are a lot of explanations about this, and it was really hard to understand. I suggest this site for you to be able to know more information and have the answers to your questions,
http://www.tutorvista.com/topic/law-of-cosines-vector.
For another information, the Law of Cosines is the relationship between sides and angles in any triangle.