Section 4.1 Numerical Differentiation
www3.nd.edu › ~zxu2 › acms40390F15Derive the three-point formula with error to approximate ππ′(π₯π₯ ππ). Let interpolation nodes be (π₯π₯0,ππ(π₯π₯0)), (π₯π₯1,ππ(π₯π₯1)) and (π₯π₯2,ππ(π₯π₯2)). ππ′ π₯π₯ ππ = ππ(π₯π₯0) 2π₯π₯ππ−π₯π₯1−π₯π₯2
Numerical differentiation - Wikipedia
https://en.wikipedia.org/wiki/Numerical_differentiationThe simplest method is to use finite difference approximations. A simple two-point estimation is to compute the slope of a nearby secant line through the points (x, f(x)) and (x + h, f(x + h)). Choosing a small number h, h represents a small change in x, and it can be either positive or negative. The slope of this line is This expression is Newton's difference quotient (also known as a first-order divided difference).