Source: https://keepschool.com/fiches-de-cours/college/math/statistiques-moyenne-mediane-etendue.pdf