A Comparison of Numeric Integration Schemes

Runge Kutta vs. Euler - On the Influence of time step sizes on the accuracy of numerical simulations


The C++ source code used for creating this article available for download at GitHub. It contains a small framework implementing the different integration schemes in a reusable manner.

In order to open the project you will need the NetBeans IDE with C++ Plugin. If you have not already installed Netbeans I recommend using the original installer from Oracle since some Linux distributions will install an incomplete version that is missing vital files. If you can compile the project and create a binary file but are unable to start it from within the IDE you are likely affected (Ubuntu and derivatives).

For compiling the program you will need the development versions of the OpenGL, SDL, SDL_TTF libraries.

You might also like: