If RK4 costs four function evaluations per step, why does its fourth-order accuracy buy you nothing RK2 cannot?
Loading…
Function evaluations set the cost
State that running time is governed by how many times the slope function is evaluated per step, and record the counts: Euler one, RK2 two, RK4 four, with the count roughly giving the order.
Trading accuracy for work — nothing is free
Write that RK4's error goes like so halving cuts error by sixteen, then show that quartering the step in RK2 buys the same sixteenth for the same fourfold work.
RK4 super slope
Record that RK4 is the standard method drawing the on-screen curves, write the weighted super slope formula, and note the division by six from before plugging into the update.