In the rest frame, the coordinates of the ends of the rod in terms of proper length $l_{0}$
$$
A:(0,0,0) B:\left(l_{0} \cos \theta_{0}, l_{0} \sin \theta_{0}, 0\right)
$$
at time $t$. In the laboratory frame the coordinates at time $t^{\prime}$ are
$$
A:\left(v t^{\prime}, 0,0\right), B:\left(l_{0} \cos \theta_{0} \sqrt{1-\beta^{2}}+v t^{\prime}, l_{0} \sin \theta_{0}, 0\right)
$$
$\mathbf{1 6 9}$
Therefore we can write, $l \cos \theta_{0}=l_{0} \cos \theta_{0} \sqrt{1-\beta^{2}}$ and $l \sin \theta=l_{0} \sin \theta_{0}$
Hence $l_{0}^{2}=\left(l^{2}\right)\left(\frac{\cos ^{2} \theta+\left(1-\beta^{2}\right) \sin ^{2} \theta}{1-\beta^{2}}\right)$
or, $=\sqrt{\frac{1-\beta^{2} \sin ^{2} \theta}{1-\beta^{2}}}$