Source: http://www.lyc-kastler-cergy.ac-versailles.fr/IMG/pdf/fonct.re_fe_.exercices.pdf