what is the function of the state of a thermodynamic system
The first law of thermodynamics states that if a system follows a thermodynamic cycle (that is, ultimately returns to its initial state), then the total amount of heat transferred to the system over the course of the cycle is equal to the work performed by the system.