According to the first law of thermodynamics, if $Q$ is the heat added to a system and $W$ is the work done by the system, the change in internal energy is:
Solution
$\Delta U = Q - W$ (with $W$ as work done by the system).
About this question
Subject: Physics · Chapter: Thermodynamics · Topic: Zeroth and First Law
This question is part of PrepWiser's free JEE Main question bank. 15 more solved questions on Thermodynamics are available — start with the harder ones if your accuracy is >70%.