If $m$ denote the minimum value of $f(x)= \left (\frac{\cos x}{\sin^2x(\cos x-\sin x)}\right)$ where $x\in\left(0,\frac{\pi}{4}\right)$ then find $\lfloor m\rfloor$.
My Attempt:
I am trying to find the minimum value of $f(x)$ though the question wants us to find the two consecutive integers between which the function lies.It is clear $f(x)$ is positive over the given interval.
Let $t=\tan x$. Here $0 $f(x)$ reduces to $\frac{1+t^2}{t^2(1-t)}$. Let $g(t)=\frac{1+t^2}{t^2(1-t)}$ ; $0 $g'(t)=\frac{t^3+3t-2}{t^3(1-t)}$ Putting $g'(t)=0$. From here I go blank. Should somehow get some inequality to get the two consecutive integers between which $m$ lies