An ideal gas has its pressure cut in half slowly, while being kept in a container with rigid walls. In the process, 265 kJ of heat left the gas.
(a) How much work was done during this process?
kJ
(b) What was the change in internal energy of the gas during this process?
kJ