Source: http://dptgeii.iutsd.univ-lorraine.fr/cours/lpsarii/IM/TD/TDCorrection.pdf