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