Source: https://ndm.maths.free.fr/Cours2nde/Exercices.pdf