
Unit Vector
i don't really understand unit vector, so i don't know how to calculate this, can anyone please help me to solve it?
A(10,0), B(5,8.7) find the unit vector v1 n v2, also find a unit vector w, which is perpendicular to v.
After that find the new coordinate of C(5, 8.7) with the unit vector of AB.
Thank you

Re: Unit Vector
Since you do not specify, is this a math problem, a problem translating the math into java, or both? If it is a math problem, I'd encourage a quick google search as there are hundreds if not thousands of tutorials out there describing how to calculate a unit vector. If a java problem, what code do you have so far, and what specific questions about the code do you have?

Re: Unit Vector