<s>[INST] What is the following limit? How can I calculate the following limit?
What do I miss here? What am I doing wrong?
$$\begin{align*}
\lim_{x\rightarrow0}\frac{6x\cdot\sin x-6\cdot\sin\left(x^{2}\right)+x^{4}}{x^{5}\left(e^{x}-1\right)}= & \lim_{x\rightarrow0}\frac{6x\cdot\sin x}{x^{5}\left(e^{x}-1\right)}-\lim_{x\rightarrow0}\frac{6\cdot\sin\left(x^{2}\right)}{x^{5}\left(e^{x}-1\right)}+\lim_{x\rightarrow0}\frac{x^{4}}{x^{5}\left(e^{x}-1\right)}=\\
= & \lim_{x\rightarrow0}\frac{6}{x^{3}\left(e^{x}-1\right)}\cdot\underbrace{\frac{\sin x}{x}}_{\rightarrow1}-\lim_{x\rightarrow0}\frac{6}{x^{3}\left(e^{x}-1\right)}\cdot\underbrace{\frac{\sin\left(x^{2}\right)}{x^{2}}}_{\rightarrow1}+\lim_{x\rightarrow0}\frac{1}{x\left(e^{x}-1\right)}=\\
= & \lim_{x\rightarrow0}\frac{1}{x\left(e^{x}-1\right)}=\infty\neq\frac{21}{20}.
\end{align*}$$
According to WolframAlpha $21/20$ is the solution. What am I doing wrong?
 [/INST] You replaced parts of the formula with their limits, so that some terms (not replaced with their limit) cancel. This may lead to wrong results, as you see.
I suggest finding equivalents for the numerator and the denominator.

*

*For the denominator, it is basid:  it is known from Taylor-Young's formula that $\mathrm e^x-1\sim_0 x$, hence $\;x^5(\mathrm e^x-1)\sim_0x^6$

*For the numerator, apply Taylor-Young's formula to each term so as to obtain ultimately an expansion at order $6$:
\begin{align}
6x\sin x-6\sin x^{2}+x^4 &= 6x\Bigl(x-\frac{x^3}6+\frac{x^5}{120}+o(x^5)\Bigr)-\Bigl(6x^2-\frac{6x^6}6+o(x^6)\Bigr)+x^4 \\
&=6x^2-x^4 +\frac{x^6}{20}+o(x^6)-\Bigl(6x^2-x^6+o(x^6)\Bigr)+x^4 \\
&=\frac{x^6}{20}+x^6+o(x^6)=\frac{21x^6}{20}+o(x^6)\sim_{0}\frac{21x^6}{20}.
\end{align}
</s>