You can put this solution on YOUR website! u=〈-2,−1〉 , v=〈−1,2〉
=/(||u||*||v||) where is scalar product, ||u|| and ||v|| are the lengths of vectors and
Calculate the length of each vector. Picture a right triangle drawn from the vector's x-component, its y-component, and the vector itself. The vector forms the hypotenuse of the triangle, so to find its length we use the Pythagorean theorem. As it turns out, this formula is easily extended to vectors with any number of components.
||u|| =
||u|| =
||u|| =
||u|| =
||v|| =
||u|| =
||u|| =
Calculate the dot product of the two vectors.
Plug your results into the formula.
=/(||u||*||v||)
°