I've got this limit $$ { \lim_{x\to 0} \left( \frac{e\cos(x)-e}{\ln(1+\ln(2-e^{sin^2(x)}))} \right) \ }$$ I tried to remove NaN situation by $t=ln(2-e^{1-cos^2(x)}$). But the problem was how can I know $1-cos(x)$ value . So if there was any hint, please share it with me.
Thanks
Rewrite the expression.
$${ \frac{e\cos(x)-e}{\ln(1+\ln(2-e^{sin^2(x)}))} }$$ $$=e\frac{\cos x-1}{x^2}\frac{\ln(2-e^{\sin^2 x})}{\ln(1+\ln(2-e^{\sin^2 x}))} \frac{1-e^{\sin^2 x}}{\ln(2-e^{\sin^2 x})}\frac{\sin^2 x}{1-e^{\sin^2 x}}\frac{x^2}{\sin^2 x}$$
We see that the limit is $\frac{e}{2}$.