let $h(z)=1, g(z)=1-\cos z$
as $z_0=0$, $$h(0)=1\ne0$$
$$g(0)=0, g'(0)=0, g''(0)=1\ne0$$
$$\therefore2-0=2$$, order of pole = 2
$$\therefore\frac{1}{1-\cos z}=a_{-2}z^{-2}+a_{-1}z^{-1}+a_0+a_1z+a_2z^2+\cdots$$
$$\frac{1}{1-\frac{z^2}{2!}+\frac{z^4}{4!}-\cdots}=a_{-2}z^{-2}+a_{-1}z^{-1}+a_0+a_1z+a_2z^2+\cdots$$ Errors in the line above; correct below
$$\therefore(\frac{z^2}{2!}-\frac{z^4}{4!}+\frac{z^6}{6!}-\cdots)(a_{-2}z^{-2}+a_{-1}z^{-1}+a_0+a_1z+a_2z^2+\cdots)=1$$
Since corresponding coefficients equal each other, we have
$$\frac{a_{-2}}{2!}=1\therefore a_{-2}=2$$
$$\frac{a_{-1}}{2!}=0\therefore a_{-1}=0 \therefore Res(f;0)=0$$
$$\frac{a_0}{2!}-\frac{a_{-2}}{4!}=0\therefore a_0=\frac{1}{6} $$
$$\frac{a_1}{2!}-\frac{a_{-1}}{4!}=0\therefore a_1=0$$
$$\therefore \frac{2}{z^2}+\frac{1}{6}+\cdots$$