A circle centred at $O$ has radius $1$ and contains a point $A$ on the circumference. Segment $AB$ is tangent to the circle at $A$ and angle $\measuredangle AOB=\theta$. If point $C$ lies on $OA$ and $BC$ bisects the angle $\measuredangle ABO$, then find $OC$ in terms of $\theta$.
When I solve, I get a quadratic in $OC$, with nasty roots, but the answer is quite simple. Also, I am unable to manipulate my answer to get it. Probably, some easy elegant method.
Since $OA=1,\angle{AOB}=\theta$, one has $$OB=\frac{1}{\cos\theta},\ \ \ AB=\tan\theta.$$ Hence, $$OB:AB=OC:AC$$ leads $$\tan\theta\times OC=\frac{1}{\cos\theta}\times(1-OC),$$ i.e. $$OC=\frac{1}{1+\sin\theta}.$$