Chapter: Thermodynamics