Answer: 9.9KJ
Explanation: Q = U + W + losses
Q is heat transfered to the water
U is the change in energy of the system
W is work done by the system = 2J
Losses = 80J
Heat into system is 10kJ = 10000KJ
Therefore
U = Q - W - losses
U = 10000 - 2 - 80 = 9990J
= 9.9kJ