Applications of Thermodynamics