I can't really make out your work, but it should go something like this:
$$a_n = \frac{e^n+\sin(n)}{\pi^n +\cos(n)}$$
$$\frac{a_{n+1}}{a_n}
= \frac{ \frac{e^{n+1}+\sin(n+1)}{\pi^{n+1} +\cos(n+1)} }{ \frac{e^n+\sin(n)}{\pi^n +\cos(n)} }
= \frac{e^{n+1}+\sin(n+1)}{e^n+\sin(n)} \cdot \frac{\pi^n+\cos(n)}{\pi^{n+1}+\cos(n+1)}$$
Using trivial bounds on $\sin$ and $\cos$,
$$\underbrace{\frac{e^{n+1} - 1}{e^n + 1}}_{\to e} \cdot \underbrace{\frac{\pi^n - 1}{\pi^{n+1}+1}}_{\to 1/\pi} \leq \frac{a_{n+1}}{a_n} \leq \underbrace{\frac{e^{n+1} + 1}{e^n - 1}}_{\to e} \cdot \underbrace{\frac{\pi^n + 1}{\pi^{n+1}-1}}_{\to 1/\pi}$$
by the squeeze theorem $\lim_{n\to\infty}\tfrac{a_{n+1}}{a_n} = \tfrac{e}{\pi} < 1$. So we may apply the ratio test.