Joule's laws
Where Q is the amount of heat, I is the electric current flowing through a conductor, R is the amount of electric resistance present in the conductor, and t is the amount of time that this happens for.