2.2 KB · commit a9602da
It is known that the maximum and minimum values of a function can be found by equating the first derivative to zero and solving for the variable. The same procedure can be applied to determine the maxima and minima of a tabulated function. Consider Newton's forward difference formula y=y0+pΔy0+2p(p−1)Δ2y0+6p(p−1)(p−2)Δ3y0+⋯ Differentiating this with respect to p, we obtain dpdy=Δy0+22p−1Δ2y0+63p2−3p+2Δ3y0+⋯(6.25) For maxima or minima dy/dp=0. Hence, terminating the right-hand side, for simplicity, after the third difference and equating it to zero, we obtain the quadratic for p c0+c1p+c2p2=0,(6.26) where ⎩⎨⎧c0=Δy0−21Δ2y0+31Δ3y0c1=Δ2y0−Δ3y0c2=21Δ3y0.(6.27) Values of x can then be found from the relation x=x0+ph.