Heat generated by a 40 watts in one hour is:

144000 J

4800 J

1440 J

14400 J