$\displaystyle \lim_{x\to\pi}\frac{1+\cos x}{\tan^2x}$
How would I be able to solve this without using L'Hôpital's rule?
I have tried everything with normal identity manipulation etc and I have finally come to the decision it must be done somehow with the sandwich theorem but can't exactly see how.
I struggle to apply The squeeze/sandwich/ pinch theorem on limits with a trig in the numerator.
HINT
We have that
$$\frac{1+\cos x}{\tan^2x}=\frac{\cos^2x(1+\cos x)}{\sin^2x}=\frac{\cos^2x(1+\cos x)}{1-\cos^2x}=\frac{\cos^2x}{1-\cos x}$$
which is not an indeterminate form.