The question is well defined for estimating $\frac 1 \pi$, but not for estimating $\pi$. In the first case If $l>d$, minimizeyou need to evaluate $cos^{-1}$ which requires knowledge of $\pi$, otherwise the variance of the estimator of $\frac 1 \pi$decreases with$ \frac l d$, it will give youso you'd "practically" settle for $\frac{2l^*}{d\pi} = \frac 1 2$$l=d$.