Source: https://math.lyceedebaudre.net/sites/default/files/Exercices/Exercice_loi_continue.pdf