4
The work done when a gas is compressed in a cylinder is 338 J. At the same time,
it absorbs 142 J of heat from the surroundings. Compute the change in energy of
the system.