Chapter 9: Q13 E (page 373)
Consider the initial-value problem . The analytic solution is.
(a) Approximate y(0.1)using one step and Euler's method.
(b) Find a bound for the local truncation error in.
(c) Compare the error inwith your error bound.
(d) Approximate y(0.1)using two steps and Euler's method.
(e) Verify that the global truncation error for Euler's method is O(h)by comparing the errors in parts (a) and (d).
Short Answer
- The approximate value of y(0.1) for the initial value problem is 1.2.
- The bound for local truncation error in for the initial value problem is 0.0244.
- The actual error of 0.0214 is less than the obtained truncation error of 0.0244 in subpart (b).
- The approximate value of y(0.1) using two steps of Euler's method for the initial value problem is 1.21.
- The actual error when h = 0.05 is approximately half of the actual error when h = 0.1.