Title: THERMODYNAMICS APPLIED TO HEAT ENGINES