An ideal gas is enclosed in a cylinder at pressure of 2 atm and temperature