Limits with L'Hôpital's rule Find the values of $a$ and $b$ if $$ \lim_{x\to0} \dfrac{x(1+a \cos(x))-b \sin(x)}{x^3} = 1 $$
I think i should use L'Hôpital's rule but it did not work.

use the equivalent, near $0$
\begin{eqnarray*}
\cos x &\approx &1-\frac{x^{2}}{2} \\
\sin x &\approx &x-\frac{x^{3}}{6}
\end{eqnarray*}
\begin{eqnarray*}
\frac{x(1+a\cos x)-b\sin x}{x^{3}} &\approx &\frac{x(1+a\left( 1-\frac{x^{2}%
}{2}\right) )-b\left( x-\frac{x^{3}}{6}\right) }{x^{3}} \\
&=&\frac{x+ax-a\frac{x^{3}}{2}-bx+\frac{bx^{3}}{6}}{x^{3}} \\
&=&\frac{(1+a-b)x+x^{3}(\frac{b-3a}{6})}{x^{3}} \\
&=&\frac{(1+a-b)}{x^{2}}+\frac{b-3a}{6}
\end{eqnarray*}
It suffices to choose $a$ and $b$ such that
\begin{equation*}
(1+a-b)=0\ \ \ \ \ and\ \ \ \ \ \ b-3a=6
\end{equation*}
that is 
\begin{equation*}
a=-\frac{5}{2},\ \ \ and\ \ b=-\frac{3}{2}
\end{equation*}
