Source: https://www.freemaths.fr/annales-mathematiques/bac-es-mathematiques-centres-etrangers-2018-specialite-corrige-exercice-1.pdf