Source: http://mathsamatt.com/fichiers/6eme/devoirs/D01-6eme-2011-dm%2026sept2011.pdf