Exercises
Answer these question(s).
-
Suppose that you are using a Runge-Kutta second order ODE solution method and you
specify that you want to reduce the error from
to
.
How many more time steps will you have to use to obtain the solution at the
same point in time?
You will have to use 10x more time steps because you have to reduce h by 10x.
-
Now, suppose that you are using a Runge-Kutta fourth order ODE solution method and you
want to reduce your error from
to
.
How many more time steps will you have to use to obtain the solution at the
same point in time?
You will have to reduce the time step by
or
so you will need approximately 3-4 times
as many steps.