WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Leaking Bucket Equation and Reversibility

rate of change
second-order Runge-Kutta method
initial level
1
time step
0.03
time span
3
How do reversible integrators work for nonreversible differential equations, such as the leaking bucket equation? This is investigated here for the asynchronous leapfrog integrator, a presumably novel variant of the well-known leapfrog method. For comparison, one can also choose the second-order nonreversible RungeKutta method, which is also known as Heun's method.
Both integrators empty the bucket only approximately, even in the long run. So the behavior of the reversed trajectories does not contradict the fact that any one-step method has a flat-line solution, given an autonomous rate function that is initially vanishing.
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.