Reversible and Irreversible Expansion and Compression Work
Download the CDF file to view the simulation using the free Wolfram CDF player.
download link