(a) Energy gained by water (in 1 s)
= Energy supplied$-$energy lost
= (1000 J-160 J)=840 J
Total heat required to raise the temperature of water from 27$℃\ to\ 77℃\ is\ ms\mathrm{\Delta}\theta$. Hence, the required time,
$t = \frac{ms\mathrm{\Delta}\theta}{rate\ by\ which\ energy\ is\ gained\ by\ water}$
$= \ \frac{(2)\left( 4.2 \times 10^{3} \right)(50)}{840} = 500\ s$
= 8 min 20 s.