Package com.titan.math.solver
package com.titan.math.solver
-
ClassDescriptionImplementation of the Adams-Bashforth 2nd order solver approximation method
wi+1 = wi + (h/2)*(3*f(ti, wi) - f(t-1, w-1))EulerSolver implements Solver:
implementation of the Euler-Solver approximation method
wi+1 = wi + h * f(wi, ti)Implementation of the Predictor-Corrector approach solver approximation method
wi+1 = wi + (h/12)*(5*f(t(i+1), w(i+1)) + 8*f(t(i), w(i)) - f(t(i-1), w(i-1)))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)A generic solver, solves differential equation based on Newton's law of motion