by junku901 · 12y ago · 0 comments
See [1]. Especially slides 11 and 12 may be of interest.
[1] http://www.astro.sunysb.edu/phy277/lect30.pdf
As a sidenote, there are better integration schemes, but all of them will have some error because we discretize the system.
But in general, you can control the error and make a trade-off between computing time and accuracy. You would select a timescale over which you want the error to be below some value, and then only consider the simulation valid until then.