Piston coordinate versus simulation time.
In the system simulated the piston has the same potential U(x) as illustrated above,
but differs slightly in that
the walls, assumed to be hard in the theoretical definition of the entropy,
are actually implemented using one-sided springs. So the true change in
entropy was not so great as the theoretical curve. Nevertheless, 16kT
of work was done.