where U2 and U1 are internal energies of the system at the final and
initial states, respectively. The term W represents the total work
done on the surroundings by the system [17].
Substituting Equation (9) in Equation (10) the general expression
for the work becomes [17]: