A heat engine absorbs heat Q1 at temperature T1 and heat Q2 at temperature T2 . Work done by the engine is (Q1+Q2)J . This data:
In one complete cycle, a heat engine extracts heat Qh from a thermal reservoir, does work W and does not eject any heat into the environment. This heat engine is impossible because its operation violates:
According to 1st law of Thermodynamics