Temperature Changes in an Ideal Gas
In this Demonstration, an ideal gas is heated or cooled in two containers, one at constant pressure and one at constant volume. You can vary the amount of heat added or removed with the slider. Click the play button to the right of "add heat" or "remove heat" to initiate heat transfer. The first law and the ideal gas law are used to calculate the final temperature T and the changes in internal energy (ΔU) and enthalpy (ΔH) for each system. The work W is calculated for the constant-pressure process, and the final pressure P is calculated for the constant-volume system.

Download the CDF file to view the simulation using the free Wolfram CDF player.