When the coil is connected to `dc` source the final current is decided by the resistance of the coil. `therefore r=10/2.5=4 Omega`
When the coil is connected to `ac` source, the final current is decided by the impedance of the coil. `therefore Z=10/2=5Omega`
But `Z=sqrt((r)^(2)+(X_(L))^(2)) X_(L)^(2)=5^(2)-4^(2)=9`
`X_(L)=3 Omega`
`therefore omegaL=2pifL=3`
`therefore 2pi50L=3`
`therefore L=3//100pi` Henry