Source: http://www.est-usmba.ac.ma/ALGORITHME/res/Correction TD1 algorithme_expo.pdf