Source: https://www.concours-centrale-supelec.fr/CentraleSupelec/2017/TSI/sujets/2016-008.pdf