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