On a fixed interval, RK4 with h = 0.1 gives a global error of 8.1 × 10−5 at the final time. Assuming the step size is in the asymptotic range, approximately which step size would reduce the global error to 1.0 × 10−6?
h ≈ 0.033
h ≈ 0.0012
h ≈ 0.011
h ≈ 0.042
Unlock full course notes by signing up
Runge-Kutta Method of Order 4: difficulty 3
The oscillator y″ = −4y, y(0) = 1, y′(0) = 0 is written as the system y′ = v, v′ = −4y. Use one RK4 step with h = 0.1, treating each stage ki = (ki,y, ki,v) as a vector.
Give k1 and k2.
Give k3 and k4.