Exercise · ZW-FINITE-DIFFERENCES-FOR-DERIVATIVES-007 · ★★☆ Intermediate

If the step \(h\) is halved in the centered formula, how does the truncation error change approximately?

Choose one option.

Show answer
  • D. It is divided by 4

Explanation

The error is \(O(h^2)\), so halving \(h\) divides the error by \(2^2=4\).

Study Numerical methods in ZWMath →

Review the concept: Finite differences for derivatives

Finite differences are approximations of the derivatives of a function \(f\) from its values at discrete points separated by a step \(h\). They turn differential problems into algebraic systems that a computer can solve.

\[f'(x)\approx \frac{f(x+h)-f(x)}{h}\]

More practice problems: finite differences for derivatives

← ZW-FINITE-DIFFERENCES-FOR-DERIVATIVES-006 ZW-FINITE-DIFFERENCES-FOR-DERIVATIVES-008 →