Source: http://ww2.ac-poitiers.fr/math_sp/IMG/pdf/Sujet_0_Maths_Exemple_2.pdf