Source: https://pedagotech.inp-toulouse.fr/140419/res/Exercices_mod1_sem3.pdf