Source: https://www.freemaths.fr/annales-mathematiques/bac-s-mathematiques-inde-2019-obligatoire-corrige-exercice-1-probabilites-a-densite.pdf