Source: https://www.math.univ-toulouse.fr/~ckilque/documents/Planche_exercices_colles_BCPST1.pdf