Q.
A gas is compressed at constant pressure 50 N/m2 from a volume of 10m3 to a volume 4m3 . Energy 100 J is then added to the gas by heating. Its internal energy is
Change in volume ΔV2−V1=4−10=−6m3
A volume decreases, work is done on the gas and so it is negative. W=pΔV=50×(−6) =−300J
Additional heat supplied (G=+100J) .
So, for first law of thermodynamics change in external energy is given by ΔU=Q−W =100−(−300)=400J
Internal energy increases by 400 J.