Source: https://cfpmi.fr/images/stories/FormationsUniv/MProjet/TD1/M2304_TD1_Exercice2Corrig.pdf