If the change in internal energy of an ideal gas is equal to negative of the work done by the system, then