Source: http://jaicompris.com/lycee/math/probabilite/probabilite-continue/probabilite-continue-exercice.pdf