Source: https://www.sujetdebac.fr/annales-pdf/2009/l-mathematiques-informatique-premiere-2009-liban-corrige.pdf