Given that,
Current i=5A
Potential differenceV=140V
Now, case (I)
Vtotal=VI+Vr
Vtotal=Ldidt+iR
140V=L(10)+5×R
Now, case (II)
Vtotal=L(didt)+iR
60V=L(−10)+5×R
Now, subtract case (II) from case (I)
140V−60V=L(10A/s)−L(−10A/s)
80V=L(20A/s)
L=4H
Now, substitute the value of L in equation (II)
60V=4H(−10A/s)+5×R
5×R=60V+40HA/s
5×R=60+40
R=1005
R=20Ω
Hence, the resistance is 20Ω