Solve Ordinary Differential Equation (ODE) : Runge-Kutta Method


Engine: Boost odeint http://www.boost.org/

Compiler: emscripten https://kripken.github.io/emscripten-site
example:

equation: \(y' = cos(x)\)

initial x: 0.0

initial y: 0.0

final x: 20.0

dx: 0.1

result:

Analytic solution is \(y = sin(x)\)

numerical solution: output data (you can use it for your plotting tool)








output data

top numerical science tools