Title: Thermodynamics, Waves and Electromagnetism