Source: https://users.rowan.edu/~hassen/NumerAnalysis/Interpolation_and_Approximation.pdf