Source: https://perso.crans.org/pklein/Maths/lycee1/DS7_Enonce.pdf