In a thermodynamic process pressure of a fixed mass of a gas is changed in such a manner that the gas molecules give out 30 J of heat and 10 J of work is done on the gas. If the internal energy of the gas was 40 J, then the internal energy wiII be
Here dQ = d + dW
or
(heat is rejected by system)