Rate of dissipation of energy in resistor =i2R
Rate of energy stored in inductor =dtd(21Li2)=Lidtdi
i2R=Lidtdi
dtdi=iLR…(i)
In L−R circuit:
i=i0(1−e−τt)(∴τ=RL=2)
dtdi=τi0e−t/τ
From equation (i),
τi0e−t/τ=i0(1−e−τt)LR
e−t/τ=1−e−t/τ
e−τt=21⇒t=τln2
=2ln2