Source: https://spcl.ac-montpellier.fr/moodle/pluginfile.php/15518/mod_label/intro/PCMterm_Seq04_Exercices.pdf