5. While a gas does 500J of work on its surroundings, 800J of heat is added to the gas. The
mass of the gas is 300 grams, specific heat capacity is 1000 Joules/kg and the work is
done keeping pressure constant.
a) What is the change in the internal energy of the gas?
b) What is the change of the temperature of the gas?