(a) For an ideal gas at constant temperature:
W=μRTlnV1V2=1.0×8.31×300×1.386=3455 J
U depends only on T, which is unchanged, so ΔU=0 and the gas absorbs exactly 3455 J of heat from the bath.
(b) By the first law:
ΔU=ΔQ−ΔW=3470−3420=+50 J
Internal energy is the sum of the kinetic energies of the molecules (their random motion in the centre-of-mass frame) and the potential energy of the forces between them. At constant temperature the kinetic part does not change, so the 50 J increase is in the potential energy: the molecules of a real gas attract each other, and pulling them farther apart raises this potential energy, just as lifting a stone raises its gravitational potential energy. The extra 50 J of heat absorbed pays for it.
(c) In an ideal gas the molecules exert no forces on each other except during collisions, so there is no potential energy that depends on how far apart they are. U is then only the molecular kinetic energy, which is fixed by the temperature, so changing the volume at constant T cannot change U. A consequence: when an ideal gas expands freely into a vacuum (Q=0, W=0, so ΔU=0), its temperature does not change; a real gas, whose molecules must be pulled apart against their attraction, cools slightly in the same experiment.