by current I flowing through a resistor with resistance R for a time t, and Q is the heat generated
or
where k is the constant of proportionality, dependent on the units used to express I, R and t. If amperes, ohms, and seconds are used, and the result expressed in joules, it is simply 1.
wikipedia.org dumped 2003-03-17 with terodump