Source: http://www.jardindesmaths.fr/wa_files/Exercices_20de_20bac_20proba_20site.pdf