Sorry for Hijacking:
Damo's solution gave me an interesting idea:
The other way to solve that problem would be to make OX the direction of the positive x axis. Let's generalise by calling the 2N vector

and the other one bi. Now essentially we want to find:

We can do this as Damo has done, to add the two vectors. The resulting vector sum would be:

^2 + (|\vec{a}|sin50^o)^2)
 + 2|\vec{a}|bcos50^o + b^2 )

However the angle between the two vectors is 180-50=130 so in order to get our expression in terms of that we just simply use

and sub it into the expression to get:

but

and so just sub in to get the more recognizable form of:

Which proves the cosine rule using vectors.
Moral of the story is that if you find two different ways of solving the same problem, you can equate them to find interesting proofs/relationships

. So always be on the lookout (except possibly exam time)