Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Create a vector v that is the point (1,2)
- v = {x = 1, y = 2}
- -- Find the norm of vector v.
- vHat = {x = v.x/sqrt(v.x^2+v.y^2) , y = v.y/sqrt(v.x^2+v.y^2)}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement