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
Exercise · ZW-FINITE-DIFFERENCES-FOR-DERIVATIVES-007 · ★★☆ Intermediate
Choose one option.
The error is \(O(h^2)\), so halving \(h\) divides the error by \(2^2=4\).
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.
← ZW-FINITE-DIFFERENCES-FOR-DERIVATIVES-006 ZW-FINITE-DIFFERENCES-FOR-DERIVATIVES-008 →