Source: https://talamidi.com/Cours/Maroc/College/1AC/Mathématiques FR/Statistiques/Exercice/Talamidi.com_1AC_math_Exercice_05.pdf