17.23. a) The work done by the gas is just W = (.8 atm)(- 7 L) W = -567 J
b) Internal energy is given by