Step 1:
The first law of thermodynamics for a closed system undergoing a process can be written as:
\[
\Delta U = Q - W
\]
where $\Delta U$ is the change in internal energy, $Q$ is the heat added to the system, and $W$ is the work done by the system.
Show more…