Source: https://www.concours-centrale-supelec.fr/CentraleSupelec/2009/PC/sujets/math1.pdf