\[ \boxed{cotan \theta_c=\left[\dfrac{d}{d\omega}\left(\omega\tan\theta_c\right)\right]_{\omega_0}=\left(\tan\theta_c+\beta^2\omega n(\omega) \dfrac{dn}{d\omega} cotan (\theta_c)\right)\bigg|_{\omega_0}}\]