how to find vector magnitude
Assuming we have a "2D" vector in some form like ..... ai + bj..... or......<a, b>
We have
√(a2 + b2) = Magnitude
For a "3D" vector .....ai + bj + ck, we have
√(a2 + b2 + c2) = Magnitude
and adding to CPhills answer this can find you the 3D vector for example=a2 = x2 + y2 + z2