This is what i get when i take the derivative after using the tan identity:
\frac{x^{2}(sec^{2}\theta\frac{d\theta}{dx} - \frac{0.1}{x^{2}})}{-0.1(xsec^{2}\theta\frac{d\theta}{dx} - tan\theta)} = \frac{-1.6}{x^{2}}
I still have both \theta and x, so how do I optimize it?
Edit: never mind, I...