In steady state: P= I^2 R Energy stored in inductor =\\dfrac{1}{2} L I^2 \ au = L/R After connecting x and z, the whole energy of inductor will go into heat so heat produced H=\\dfrac{1}{2}LI^2=\\dfrac{1}{2}L\\dfrac{P}{R}=\\dfrac{1}{2}P\ au