Source: https://www.math.univ-paris13.fr/~vento/docs/TD%20L2-S2%20Proba.pdf