Equilibrium thermodynamics