The current through a resistor connected across a constant 10V supply varies with time according to I(t)=2+0.5t, where I is in amperes and t is in hours. Find the electrical energy dissipated in the resistor during the first 4h, expressing your answer in kWh.