Class RungeKuttaSolver

java.lang.Object
com.titan.math.solver.RungeKuttaSolver
All Implemented Interfaces:
Solver

public class RungeKuttaSolver extends Object implements Solver
RungeKuttaSolver implements Solver:
implementation of the Runge-Kutta-Solver approximation method
k1 = h * f(wi, ti);
k2 = h * f(wi + k1, ti + h/2);
k3 = h * f(wi + k2, ti + h/2);
k4 = h * f(wi + k3, ti);
wi+1 = wi + 1/6 * (k1 + 2*k2 + 2*k3 + k4)