I am confused about how we calculate this limit without L'Hopital rule. $$\lim_{x\to0} \frac{\tan(x)-\sin(x)}{x^3}$$ The steps I was able to do are $$ \lim_{x\to0} \frac{\tan(x)-\sin(x)}{x^3}= \lim_{x\to0} \frac{\tan(x)}{x^3}-\frac{\sin(x)}{x^3}= \lim_{x\to0} \frac{1}{x^2}-\frac{1}{x^2}= \lim_{x\to0} 0 = 0 $$
However evaluating this limit using Wolfram Mathematica I get the result $\frac{1}{2}$.
I suspect the problem to be in the simplifications $\frac{\tan(x)}{x^3}\sim\frac{1}{x^2}$ and $\frac{\sin(x)}{x^3}\sim\frac{1}{x^2}$ but I don't understand how exactly.