Source: https://www.freemaths.fr/annales-mathematiques/bac-es-mathematiques-amerique-du-nord-2018-specialite-corrige-exercice-4.pdf