One mole of water vapor is expanded reversibly from 5L to 15L at a temperature of 800K. Calculate q, w, deltaE for this process assuming that water behaves as a van der Waals gas, making use of the formal relation
(partial E / partial V) at constant T = [ T*(partial P / partial T) at constant V ] - P.
Then repeat the calculations assuming ideal gas behavior