a thermal engine produces 4 mj of electrical energy while operating between two thermal baths of different temperatures. the working substance of the engine discharges 5 mj of heat to the cold temperature bath. what is the efficiency of the engine?