delta U1 and delta U2 represent the change in internal energy in process A and B