We can apply the first law of thermodynamics, which states that the change in internal energy is equal to the heat added to the system plus the work done on the system. In this case, the heat added to the system is zero, so we have:
\[\Delta E_{internal} = Q +
Show more…