First Law of Thermodynamics
or
The Conservation of Energy

U = Internal Energy of the System (SI: J)
W = Work done by or on the System (SI: J)
Q = Heat flow in or out of the System (SI: J)
MEcm = Mechanical Energy of the center-of-mass (SI: J)
= KEcm + PEcm + REcm

* For systems where the change in mechanical is unimportant, the first law of thermodynamics is written as:


Relationship between Work, Heat and Internal Energy