Source: https://www.maths-france.fr/Terminale/TerminaleS/ProblemesBac/AnnalesThematiques/ROC/BacS_Juin2012_Obligatoire_Pondichery_Exo4.pdf