(a) Use Euler's method with each of the following step sizes to estimate the value of y(0.4),...

Question:

(a) Use Euler's method with each of the following step sizes to estimate the value of y(0.4), where y is the solution of the initial-value problem y' = y, y(0) = 1.
(i) h = 0.4
(ii) h = 0.2
(iii) h = 0.1
(b) We know that the exact solution of the initial-value problem in part (a) is y = ex. Draw, as accurately as you can, the graph of y = ex, 0 < 0.4, together with the Euler approximations using the step sizes in part (a).
(Your sketches should resemble Figures 12, 13, and 14.)
Use your sketches to decide whether your estimates in part (a) are underestimates or overestimates.
(c) The error in Euler's method is the difference between the exact value and the approximate value. Find the errors made in part (a) in using Euler's method to estimate the true value of y(0.4), namely e0.4. What happens to the error each time the step size is halved?
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: