Useful for solving thermodynamics numericals.