Work and Efficiency of a Stirling Thermal Engine