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

For \(y'=y\), \(y(0)=1\), and \(h=0.1\), what is approximately the local error of the first Euler step?

Choose one option.

Show answer
  • D. 0.00517

Explanation

Euler gives \(y_1=1.1\) and the exact solution is \(e^{0.1}\approx1.10517\), so the difference is about \(0.00517\).

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-005 ZW-LOCAL-AND-GLOBAL-ERROR-007 →