Title: Thermodynamics Applied to Heat Engines