Quote:
Originally Posted by Hitchhiker 42
Yes, sorry about that. That was what I meant.
|
OK.
x(t) = 1/4*t^3 + 1 is the analytical solution to the Initial Value Problem
a(t) = sqrt(3*v(t))
with initial values*
x(0.01) = 1.00000025
and
v(0.01) = 7.5e-5
As you can see from the spreadsheet, the Midpoint method gives much better results for that IVP than Forward Euler and Forward/Backward Euler.
* selected to avoid the stationary point at t=0