ToolPythonIntermediate REBOUND from the ground up: the outer planets for a million years envelope = np.maximum.accumulate(err)
ToolPythonIntermediate Velocity Verlet: keep the Earth on its orbit for a thousand years ax.loglog(t[1:], np.maximum.accumulate(err)[1:], color=color)