
William W. answered 03/16/20
Math and science made easy - learn from a retired engineer
The basic equation for the heating of an object of mass "m" in "steady state" conditions is Q = mCpΔT so a person could differentiate this to get dQ/dt = mCp(dT/dt). In your case, you are providing a "power" input (1kW) and power is energy/time so, it is the dQ/dt. IF you assume that the power of 1kW is provided instantaneously and continuously to the water and there is no loss to the environment (the water is insulted so there is "no heat loss"), then we can modify the equation as follows:
dQ/dt = mCp(dT/dt) and we let P = dQ/dT then:
P = mCp(dT/dt) and we let dT be (Tf - Ti) where Tf = the final temperature and Ti is the initial temperature then:
P/(mCp) = (Tf - Ti)/dt or
Δt = mCp(Tf - Ti)/P
Using m = ρV (density times volume) the equation becomes:
Δt = ρVCp(Tf - Ti)/P
The Cp for water is 4,200 J/kg°C. The density (ρ) for water is about 1 kg/L at that temperature. 1kW = 1000W. So plugging in the numbers we get:
Δt = (1)(0.5)(4200)(80 - 20)/1000 = 126 seconds so just a little over 2 minutes.
As you can see, this is not a differential equation because we are assuming the energy/time is constant. A more realistic problem would be to have a function P(t) for the input power and to add in the heat loss to the environment (Q = hAdT/dt) and then you would have a differential equation.