A hand-held calculator will suffice for the Problem. The problem an initial value problem and its exact solution are given. Approximate the values of x(0.2) and y(0.2)in three ways: (a) by the Euler method with two steps of size h = 0.1; (b) by the improved Euler method with a single step of size h = 0.2; and (c) by the Runge–Kutta method with a single step of size h = 0.2. Compare the approximate values with the actual values x(0.2) and y(0.2). x' = x -2y, x(0) = 0, y' = 2x + y, y(0) = 4; x(t) = -4et sin 2t, y(t) = 4et cos 2t
A hand-held calculator will suffice for the Problem. The problem an initial value problem and its exact solution are given. Approximate the values of x(0.2) and y(0.2)in three ways: (a) by the Euler method with two steps of size h = 0.1; (b) by the improved Euler method with a single step of size h = 0.2; and (c) by the Runge–Kutta method with a single step of size h = 0.2. Compare the approximate values with the actual values x(0.2) and y(0.2).
x' = x -2y, x(0) = 0,
y' = 2x + y, y(0) = 4;
x(t) = -4et sin 2t, y(t) = 4et cos 2t
We are authorized to answer one question at a time, since you have not mentioned which question you are looking for, so we are answering the first one, please repost your question separately for the remaining question.
Given an initial value problem are
and its exact solution are given
and (steps of size) h= 0.1
Using the Euler method
and
Now
Then
Iteration First: Put n=0
Using
and
Using
and
Step by step
Solved in 7 steps