Title: Fundamental functions and maximum work in equilibrium thermodynamics