Friday, October 20, 2017

Use Euler's Method to compute y(4) given that y' = y - x^2 , y(1)

Question.

Consider the initial value problem y'= y - x2, y(1) = 2.
(a) For this IVP, write down Euler's method for yn+1 in terms of yn for a general stepsize h.
(b) Using one step of Euler's method approximate y(4).

(c) Using three steps of Euler's method approximate y(4).

Solution:


No comments:

Post a Comment