TREATISE ON THERMODYNAMICS