Source: https://www.parfenoff.org/pdf/1re_S/stat_proba/1re_S_Probabilite_Variable_aleatoire.pdf