Source: http://lamh.gmc.ulaval.ca/opus/physique534/exercices/pdf/vecteurs.pdf