A heat engine operates between two temperatures such that the working substance of the engine absorbs 5000 J of heat from the high-temperature bath and discharges 3000 J to the low-temperature bath. The rest of the energy is converted into mechanical energy of the turbine. Find (a) the amount of work produced by the engine and (b) the efficiency of the engine.
Credit: University Physics Volume 2 by OpenStax, openstax.org, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Exercises adapted: converted to Kosoma's format, maths re-typeset, some exercises split into parts. Source commit db44eb99e9aa1d918fd8cf182f82ccdece9c7b11.