I would like to know the formula to find at which distance $x$ I must place a camera at $C$ so $d$ is of certain width:
In other words, I want to find $x$, knowing $\theta$ and $d$. (I know that $d = \tan\theta$ but it doesn't help).
I would like to know the formula to find at which distance $x$ I must place a camera at $C$ so $d$ is of certain width:
In other words, I want to find $x$, knowing $\theta$ and $d$. (I know that $d = \tan\theta$ but it doesn't help).
hint
You should have
$$\frac{d}{2}=x\tan(\frac{\theta}{2})$$ or
$$\tan(\frac{\theta}{2})=\frac{d}{2x}$$
thus
$$\tan(\theta)=\frac{\frac dx}{1-\frac{d^2}{4x^2}}=\frac{4xd}{4x^2-d^2}$$ now solve for $x$.