Title: Thermodynamics applied to Heat Engines