-
the x component of A is the horizontal part of A,
-
is the A·cos(θA)?
-
You must've seen a lot of examples
-
of that when you did all the force calculation.
-
And Ay is equal to the length of A times sin(θA)
-
and likewise for B; I don't feel like writing it.
-
If you do that, then A·B will be length of A, length of B times
-
You've got to go back to your good old trig
-
and it'll tell you this cos cos plus sin sin is cos(θA – θB).
-
So, you find it is length of A, length of B,
-
Often, people simply say that is A·B·cos(θ)
-
where it's understood that θ is the angle between the two vectors.