Let Delta U1 and Delta U2 be the changes in energy of the system in

Let Delta U1 and Delta U2 be the changes in energy of the system in