Source: https://www.math.md/stireal/informatica/candidat/calcul_numeric_4.pdf