Heat generated by a 40 watts in one hour is:

1440 J

4800 J

14400 J

144000 J