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