Assignment1 CR
Assignment1 CR
(a) What method do we get if we take = 1? (b) For a generic (0, 1], nd a function (y, h) such that the RK2 method can be written yn+1 = yn + h(yn , h). (c) Show that if f is twice dierentiable with continuous derivatives then RK2 is indeed a method with a truncation order at least 2. 3. We consider the following initial value problem: dy 1 y 2 ex = dx 2yex y with y(0) = 1.
(a) Explain why the general theory ensures the existence of a unique solution on some interval around 0. (b) Noting that the ODE can be written (1 y 2 ex )dx + (y 2yex )dy = 0, solve it. (c) On which interval around 0 is your solution dened? Could it be expected, from the ODE, that it is not dened for all x?