I am trying to determine the residue of $z=0$ where $f(z)=\frac{1}{z^2\sin(z)}$.
I have determined that $z=0$ is a pole of order $3$. Hence to compute the residue, I use $$\text{Res}(f,0)=\frac{1}{2}\lim_{z\to 0}\frac{\partial^2}{\partial z^2}\left(\frac{z}{\sin(z)}\right).$$ I am convinced I am doing something incorrect, as the calculations become very convoluted. I have computed that $$\frac{\partial^2}{\partial z^2}=\frac{z\sin^3(z)-2\sin^2(z)\cos(z)+2z\sin(z)\cos^2(z)}{\sin^4(z)},$$ but am unsure of how to further compute the residue, as I'm unable to solve this limit.
edit
I have solved the problem via the repeated use of L'Hopitals rule, but this took the work of computing some ugly limits. Is there another way?
$$\sin z=z-\dfrac{1}{3!}z^3+\dfrac{1}{5!}z^5-\dfrac{1}{7!}z^7+\cdots$$ then \begin{align} \dfrac{1}{z^2\sin z} &= \dfrac{1}{z^3\left(1-\dfrac{1}{3!}z^2+\dfrac{1}{5!}z^4-\dfrac{1}{7!}z^6+\cdots\right)} \\ &= \dfrac{1}{z^3}\left(1+\dfrac{1}{6}z^2+(\dfrac{1}{36}-\dfrac{1}{120})z^4+\cdots\right) \\ &= \dfrac{1}{z^3}+\dfrac{1}{6z}+\dfrac{7z}{120}+\cdots \end{align} s0 $a_{-1}=\dfrac16$.