$4 \text{ kg}$ of water is heated from $4^\circ \text{C}$ to $20^\circ \text{C}$ at constant pressure $10^5 \text{ Pa}$ so that density changes from $1000 \text{ kg/m}^3$ to $998 \text{ kg/m}^3$. Then find $\Delta U$ (in $\text{Joules}$) given $C_v$ of $\text{H}_2\text{O}= 4.2 \text{ Joule/gm.K}$ :
Show Hint
For liquid heating problems, the work done due to volume change is very small but must be accounted for using $w=-P\Delta V$. Ensure all units are consistent (Joules and Pascals/m$^3$).