Thermodynamics Simulation

Kinetic-theory gas with a piston: ideal gas law, isothermal and adiabatic processes, first law and a Carnot cycle