What is the equation to find the angle $\theta$ around an ellipse if given only horizontal semi-axis $a$, vertical semi-axis $b$, and just a length for radius $r$? I've also attached an image that graphically shows the problem.
I'm stuck trying to rearrange and isolate $\theta$ for solving using the equation:
$$r = \frac{ab}{\sqrt{a^2\sin^2\theta+b^2\cos^2\theta}}$$
Thank you for any help.


$$ r^2(a^2\sin^2\theta+b^2\cos^2\theta)=a^2b^2;$$ $$ r^2(a^2\sin^2\theta+b^2(1-\sin^2\theta))=a^2b^2;$$ Let $\hat a = a/r$ and $\hat b=b/r$ $$ \hat a ^2\sin^2\theta+\hat b^2(1-\sin^2\theta)=\hat a^2 \hat b^2;$$ $$ (\hat a ^2-\hat b^2)\sin^2\theta+\hat b^2=\hat a^2 \hat b^2;$$ $$ (\hat a ^2-\hat b^2)\sin^2\theta=(\hat a^2-1) \hat b^2;$$ $$ \sin^2\theta=\frac{(\hat a-1)(\hat a+1) \hat b^2}{(\hat a+\hat b)(\hat a-\hat b)}$$