(b) When $C$ is removed circuit becomes $RL$ circuit hence
$\tan\frac{\pi}{3} = \frac{X_{L}}{R}\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ldots(i)$
When $L$ is removed circuit becomes $RC$ circuit hence
$\tan\frac{\pi}{3} = \frac{X_{C}}{R}\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ldots(ii)$
From equation (i) and (ii) we obtain $X_{L} = X_{C}$. This is the condition of resonance and in resonance $Z = R = 100\Omega$