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
Exercise · ZW-LOCAL-AND-GLOBAL-ERROR-006 · ★★☆ Intermediate
Choose one option.
Euler gives \(y_1=1.1\) and the exact solution is \(e^{0.1}\approx1.10517\), so the difference is about \(0.00517\).
The local error is the difference between the exact ODE solution over one step and the method's approximation starting from the exact value.
← ZW-LOCAL-AND-GLOBAL-ERROR-005 ZW-LOCAL-AND-GLOBAL-ERROR-007 →