Source: http://www.fsr.ac.ma/DOC/cours/maths/S. Hajji/cours-SMI4-analyse numerique-TP.pdf