(RK4 matlab): from web [ ode.m ] or [ ode.cpp ] translated into C++.
(Wikipedia): [ Runge_Kutta ]
(Stack overflow discussion): Better games through Numerical [ runge-kutta-rk4-integration-for-game-physics ]
(deriving simple Runge-Kutta Methods at MIT): Taylor Series any one? [ node5.html ]
(Text video powerpoint pdfs on RK4): Amazing teach-yourself resource [ runge_kutta_4th_method.html ]
First we have to rewrite in the standard form of y'=f(x,y), by adding a new variable,
Cockled up solution [ ex.cpp ]
What is wrong with this code? Suggest to ways of improving it.
. . . . . . . . . ( end of section Exercise) <<Contents | End>>