Source: https://www.i2m.univ-amu.fr/perso/bruno.torresani/L1SPC13/TD4_corriges.pdf