Source: http://jaramillo.perso.math.cnrs.fr/Courses/AnalyseNumerique/td3_AN_2017.pdf