Exercise · ZW-LOCAL-AND-GLOBAL-ERROR-008 · ★★☆ Intermediate

If the local error of one step is \(C h^3\), roughly how many steps accumulate over the interval \([0,1]\)?

Choose one option.

Show answer
  • B. \(1/h\)

Explanation

On the interval \([0,1]\) there are about \(1/h\) steps of size \(h\), so the number of steps is \(1/h\).

Study Numerical methods in ZWMath →

Review the concept: Local and global error

The local error is the difference between the exact ODE solution over one step and the method's approximation starting from the exact value.

\[e_{n+1}=y(t_{n+1})-y_{n+1}\]

More practice problems: local and global error

← ZW-LOCAL-AND-GLOBAL-ERROR-007 ZW-LOCAL-AND-GLOBAL-ERROR-009 →