Source: https://www.freemaths.fr/annales-mathematiques/bac-es-mathematiques-france-metropolitaine-2017-specialite-corrige-exercice-3.pdf