What is the type of singularity for the following function:
$ \dfrac{\cos z}{(1-\sin z)} $ at $z=\pi /2 $ ?
I substituted $z = t+\pi / 2$ and then used expansions for $\cos z$ and $\sin z$ respectively. I was not able to reduce it to the form as Laurent series. I think different approach should be used to solve it.
By substituting $z\mapsto \frac{\pi}{2}-w$, the question boils down to finding the type of singularity of $$ \frac{\sin w}{1-\cos w} = \frac{\cos\tfrac{w}{2}}{\sin\tfrac{w}{2}}=\cot\tfrac{w}{2} $$ at the origin. That is a simple pole with residue $2$, since $\lim_{w\to 0}w\cot w=1$.
Welcome to MSE, by the way.