how to find direction in unit vector?
To find a unit vector with the same direction as a given vector, we divide by the magnitude of the vector. For example, consider the vector v = (1, 3) which has a magnitude of . If we divide each component of v by we will get the unit vector uv which is in the same direction as v: .