Source: https://www.concours-centrale-supelec.fr/CentraleSupelec/2008/PC/sujets/math2.pdf