Package com.titan.experiments
Class SolverStepSizeExperiments
java.lang.Object
com.titan.experiments.SolverStepSizeExperiments
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SolverStepSizeExperiments
public SolverStepSizeExperiments()
-
-
Method Details
-
main
test the solvers with the following problem:y' = f(y, t) = (t + y)^2 -1
up to t = 1 with y(0) = 2/3
the actual solution is y(t)=2/3(-2t),
hence the expected value at t=1 is 1.h varies over the experiment to see how the error is evolving
-