Fourth-order Runge-Kutta averages four slopes per step and stays true far longer than Euler at the same step size

dt 0.02 · error 64x smaller than Euler canvas · RK4 four samples · 2s cycle