Source: https://mathparadise.pagesperso-orange.fr/seconde/cours/beamer_echantillonnage.pdf