Source: http://hugo-gisors-col.spip.ac-rouen.fr/IMG/pdf/corrige-dnb-maths-2012.pdf