Joule's law is given by:
Q = I2Rt
Corresponding units:
joules(J) = ampere2(A2) · ohm(Ω) · second(s)
Where:
Q is the heat generated
I is the current(constant)
R is the resistance of the conductor
t is the time
The unit of the heat generated is joule, which can be rewritten as:
joule = kg · m2 / s2