Source: http://math.univ-lyon1.fr/~lerouvillois/Enseignement/2018/Proc_sto/Correction_TD_5.pdf