Source: https://profmath.uqam.ca/~Progiciels/Zouioueche-Naima,Allouti-Sarra,Nguyen-MinhTri/exercices-revision.pdf