Source: http://www.lyc-rostand-mantes.ac-versailles.fr/IMG/pdf/chap2_barycentres