Source: http://maths-sciences.fr/documents/terminale-pro/probabilites/exercices-probabilite-terminale-pro.pdf