Let ΔU1 ​and ΔU2 ​ be the change in internal energy in process A and B respectively