Find the limit (without using l'Hôpital and equivalence)
$$\lim_{ x \to \pi }\frac{5e^{\sin 2x}-\frac{\sin 5x}{\pi-x}}{\ln(1+\tan x)}=?$$
my try :
$u=x-\pi \to 0$
$$\lim_{ x \to \pi }\frac{5e^{\sin 2x}-\frac{\sin 5x}{\pi-x}}{\ln(1+\tan x)}=\lim_{ u\to 0 }\frac{5e^{\sin (2u+2\pi)}+\frac{\sin (5u+5\pi)}{u}}{\ln(1+\tan (u+\pi))}\\=\lim_{ u\to 0 }\frac{5e^{\sin (2u)}-\frac{\sin (5u)}{u}}{\ln(1+\tan (u))}$$
now :?
Hints:
Use asymptotic analysis: near $0$, we have:
Also note you can add, subtract, multiply, divide, compose polynomial expansions at the same order, and that we also have $\sin t=t+o(t^2)$ (expansion of $\sin t$ at order $2$, whence the expansion of $\dfrac{\sin 5u}u$ at order $1$: $$\frac{\sin 5u}u=\frac{5u+o(u^2)}{u}=5+o(u).$$