Source: https://ph.moutou.free.fr/1ere/4Fonctions_PM.pdf