Answer:
2500 J
Step-by-step explanation:
As we know that from first law of thermodynamics we have
[tex]Q = W + \Delta U[/tex]
here we know that
Q = heat given to the system
W = work done by the system
[tex]\Delta U[/tex] = change in internal energy of the system
now we will have
Q = 1000 J
[tex]U_i = 2000 J[/tex]
Work done by the piston = 500 J
so work done by system of gas = (work done by piston)
now from above equation we have
[tex]1000 = \Delta U + 500[/tex]
[tex]\Delta U = 500 J[/tex]
now we know that
[tex]\Delta U = U_f - U_i[/tex]
[tex]500 = U_f - 2000[/tex]
[tex]U_f = 2500 J[/tex]
So final internal energy of the gas is 2500 J while initial internal energy is given as 2000 J