Source: https://www.freemaths.fr/annales-mathematiques/bac-s-mathematiques-inde-2015-obligatoire-corrige-exercice-2.pdf