Answer;
= 480 Joules
Explanation;
We use the formula, Q - W = ΔU
Where, Q = Heat transferred to the system
W = Work done by the system
ΔU = Change of internal energy.
As per the question, Q = 658 J
ΔU = 178 J
Thus, W = Q - ΔU = (658 - 178) J = 480 J.
The energy used to do work by the system is 480 J.