This assignment is due Tuesday, February 2 in class.
Please e-mail your Matlab script(s) to
Consider the following simple initial value problem (IVP):
| yx = y, 0<x<1, |
| y(0) = 1, |
Write Matlab programs to solve IVP numerically using Euler's Method and one of
the modified Euler's or Heun's Methods at n equally spaced mesh points
xi, where x0=0 and xn=1.
For each numerical method answer parts (a) and (b) separately.
(a) How many mesh points do you need to bound the error at any point
xi so that it is less than or equal to 8%, 4%, and 2%?
(b) Based on (b), how many mesh points do you need to bound the error by 1%?
Prove your answer.
Prove the Existence and Uniqueness Theorem on page 3 of the class lecture
transparencies.
Cheers,
Craig C. Douglas