heat engine operating between 100 °C and 700 °C has an efficiency equal to 40% of the maximum theoretical efficiency. How much energy does this engine extract from the hot reservoir in order to do 5000 J of mechanical work?