Answer:
It is added 250J of energy as heat.
Explanation:
First law of thermodynamics relates internal energy ([tex]\varDelta U [/tex]), work (W) and heat (Q) of a system in the next way:
[tex]\varDelta U=Q+W [/tex]
Because we already know [tex] \varDelta U [/tex] and W values, the only thing we should do to find the energy removed (sign of Q negative) or added (sign of Q positive) as heat is solve (1) for Q:
[tex]\varDelta U - W=Q [/tex]
Work is negative because is done by the gas to the surroundings, so W= -50J and [tex] \varDelta U[/tex] is positive becuse it increases, then:
[tex]Q=200J-(-50J) =250J[/tex]
Because the sign of Q is positive heat is added to the engine.