An ideal gas is allowed to expand slowly at constant temperature to twice its original volume. Through the expansion, 200 kJ of heat is absorbed.
a) How much work does the gas do during the expansion?
b) What is the change in the gas's thermal energy during the expansion?