Tag Info

New answers tagged

2

There is actually a somewhat cryptic but very simple way to make NDSolve only return the solution at the end point: sol = NDSolve[{ r''[t] == -G r[t]/Norm[r[t]]^3, r[0] == {1, 0, 0}, r'[0] == {0, 2 Pi // N, 0} }, r, {t, 1, 1}, Method -> "ExplicitRungeKutta", MaxStepSize -> (1/365 // N) ] As it is easy to oversee: the difference is ...



Top 50 recent answers are included