Thermal Equilibrium Calculator