Lab 19 · Lecture 19 · Numerical Differentiation

Numerical Differentiation Lab

Compare difference formulas, find the best step size, use Richardson extrapolation, and check a machine-learning gradient.

Type any f(x) and point x₀, then move the step h. The table compares forward, backward, central, Richardson and the second-derivative formula with the exact derivative.