Source: https://www.maths-france.fr/MathSpe/Problemes/Centrale/2019/Centrale_2019_PC_M2_Enonce.pdf