I had a complex analysis exam today. One question was
$$ f(z)= \frac{z(\pi -z)^2}{\sin^2{z}}$$
What are the singularities? What are the removable ones? What are the poles of order 1? What are the poles of order 2?
If I remember correctly I just took limits for $$\lim_{z \to z_0}(z-z_0)^mf(z)$$ to check whether $k\pi$ with $k \in $ {$...,-2,-1,0,.1,2,...$} is a pole of order $m$. I used that removable singularity is a pole of order $m$.
I also tried the Taylor expansion of $\sin(z)^2$ but that did not work...
Can you explain how this works? And what the answers are?
Thank you for helping me out