If amount of heat supplied is Q, work done is W and change in internal energy is mCVdT, then relation among them is (CV gram specific heat)
If q amount of heat is supplied to a system, the work done by the system is w. What is the change in internal energy of the system?