Thermal energy produced by the resistance R in time duration 1 ms