static void SolveOnePoint(double tInit, double[] yInit, double epsilon, double delta, double timePeriod, double timeStep) { var rk4 = new GravitationalMomentEquations(epsilon, delta); rk4.SetInit(tInit, yInit); while (rk4.GetTime() < timePeriod) { //rk4.Y rk4.NextStep(timeStep); } }