Source: https://ahmesmaths.pagesperso-orange.fr/3e/Statistiques/3_Stat_4e_Moy_MoyPonderee.pdf