A cylinder containing a gas is lifted from the first floor to the second floor. What is the amount of work done on the gas? What is the amount of work done by the gas? Is the internal energy of the gas increased? Is the temperature of the gas increased?
As a cylinder is lifted from the first floor to the second floor, there is decrease in the atmospheric pressure on the gas and it expands. Therefore, some work is done by the gas on its surroundings. Work done on the gas is zero.
Work done by the gas, W = PΔV (positive)
The increase in the internal energy and temperature of the system will depend on the types of the walls of the system (conducting or insulating).