find the heat produced in the circuit.