A heat engine operates between two temperature limits of 1200 K and 300 K. It receives 1 MJ of heat while producing 450 kJ of useful work. Determine:
The energy of the heat received by the heat engine
The energy that is not available for work production.
The irreversibility of the process
The second-law efficiency of the heat engine