Source: https://maths-exercices.fr/wp-content/uploads/2013/05/cours-le-produit-scalaire-dans-le-plan-maths-premiere-53.pdf