Two moles of an ideal gas is contained in a cylinder fitted with a frictionless movable piston