The heat produced by the passage of current through a resistor is:

H=IR2t

H=I/Rt

H=I2/Rt

H=I2Rt