This lab is due Thursday, February 5, in class. No late
reports will be accepted. Beware of problems printing
or long waits for printouts.
You are expected to
turn in:
Your goal in this lab is to look at how the error varies with the step size Delta t when using Euler's method to approximate the solution to a differential equation.
1. You will use the initial value problem
2. Now use Maple code for Euler's method with step size Delta t= 0.1 to approximate y(1). Recall that there is Maple code for Euler's method at the link for section 1.4 on the Math 306 resources page. You don't need to make a list or plot your approximation, just compute and display y(1). Then compute the error for Delta t= 0.1.
3. Repeat with Delta t= 0.05, again displaying y(1) and the error.
4. Repeat with Delta t= 0.025, again displaying y(1) and the error.
5. What happens to the error as the step size is halved?
6. Does the same thing happen when the step size is scaled by other factors, e.g., reduced by a 1/10? Do a couple more experiments to answer this question.