In this problem, we'll modify Euler's method to obtain better approximations to solutions of initial value problems. This method is called the Improved Euler's method.
In Euler's method, we walk across an interval of width using the slope obtained from the differential equation at the left endpoint of the interval. Of course, the slope of the solution will most likely change over this interval. We can improve our approximation by trying to incorporate the change in the slope over the interval.
Let's again consider the initial value problem and , which we will approximate using steps of width . Our first interval is therefore . At , the differential equation tells us that the slope is 1, and the approximation we obtain from Euler's method is that .
This gives us some idea for how the slope has changed over the interval . We know the slope at is 1, while the slope at is 1.2, trusting in the Euler's method approximation. We will therefore refine our estimate of the initial slope to be the average of these two slopes; that is, we will estimate the slope to be . This gives the new approximation .
The first few steps look like what is found in Table.
| Slope at | Average slope | ||
Continue with this method to obtain an approximation for .
Repeat this method with to obtain a better approximation for .
We saw that the error in Euler's method is proportional to . Using your results from parts (a) and (b), what power of appears to be proportional to the error in the Improved Euler's Method?
Boelkins, Active Calculus, §7.3 Euler's method, Exercise 8