Source: https://www.freemaths.fr/annales-mathematiques/bac-s-mathematiques-liban-2017-obligatoire-corrige-exercice-4.pdf