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?