Question 7
Derive one forward Euler step for from Taylor’s theorem. Identify the discarded term. Then apply one step with to , , and bound its local error.
Show solutionHide solution
Question 7 – Solution
Step 1: Expand the exact solution in time.
Taylor’s theorem about gives for some between and .
Step 2: Replace the derivative using the ODE.
Since , dropping the quadratic remainder produces Euler’s update The one-step local truncation error is , hence is order .
Step 3: Apply the method.
For , , and , The exact value is . On , , so