Time taken by a 840 W heater to heat one litre of water from 10oC to 40oC is:
mass=density×volume=1000gl×1l=1000g
C is specific heat which is 4.186JgoC and,
ΔT is temperature which is 30oC(40−10)
Power produced, P=Wt=836W
So putting the values:
836t=1000×4.186×30
⇒t=150 s