Source: http://www-lmpa.univ-littoral.fr/~smoch/documents/L3-Pro/examens/Correction-session1-2006-2007.pdf