Source: https://www.maths-france.fr/MathSpe/Problemes/Centrale/2014/Centrale_2014_MP_M1_Corrige.pdf