In a thermodynamic process, the pressure of a fixed mass of a gas is changed in such a manner that the gas releases 20 J of heat and 8 J of work is done on the gas. If the initial internal energy of the gas is 30 J, the final internal energy will be:
Show Hint
Carefully follow sign convention for heat and work in thermodynamics.