Question: Consider the initial-value problem y' = 2y, y(0) = 1. The analytic solution is y(x) = e 2x . (a) Approximate y(0.1) using one step
Consider the initial-value problem y' = 2y, y(0) = 1. The analytic solution is y(x) = e2x.
(a) Approximate y(0.1) using one step and the RK4 method.
(b) Find a bound for the local truncation error in y1.
(c) Compare the error in y1 with your error bound.
(d) Approximate y(0.1) using two steps and the RK4 method.
(e) Verify that the global truncation error for the RK4 method is O(h4) by comparing the errors in parts (a) and (d).
Step by Step Solution
3.40 Rating (159 Votes )
There are 3 Steps involved in it
a Let h 01 we have fx y 2y x 0 yo 1 With n 0the Rk method is k f xo Yo 2x1 ... View full answer
Get step-by-step solutions from verified subject matter experts
