Source: https://www.freemaths.fr/annales-mathematiques/bac-es-mathematiques-inde-2016-specialite-corrige-exercice-2.pdf