Assuming the element behaves as a perfect resistor and that the power is completely converted into heat, the formula can be re-written by substituting Ohm's law, V = I R , into the generalized power equation: P = I V = I 2 R = V 2 / R where R is the resistance.