Find the multiplicity of the root at $z_0$ for these functions
i) $$ \begin{align} f(z)= e^{zcos(z)-z}-1, z_0=0 \end{align} $$
Let $z_0$ be a root of a holomorphic function $f$ , and let n be the least positive integer such that, the nth derivative of $f$ evaluated at $z_0$ differs from zero.
Based on the definition , I evaluated the derivatives and then took their value at $0$
$f'(z)=e^{z (\cos (z)-1)} (-z \sin (z)+\cos (z)-1)$ and $f'(0)=0$
$f''(z)=e^{z (\cos (z)-1)} \left(z^2 \sin ^2(z)+2 (z-1) \sin (z)+\cos ^2(z)-(z+2 z \sin (z)+2) \cos (z)+1\right)$ and $f''(0)=0$
$f'''(z)=\\e^{z (\cos (z)-1)} \left(z \sin (z)-3 \cos (z)+(-z \sin (z)+\cos (z)-1)^3+3 (2 \sin (z)+z \cos (z)) (z \sin (z)-\cos (z)+1)\right)$
and $f'''(0)=-3$ therefore the multiplicity of the root at$z_0=0$ is 3.
My question is , is there another more efficient way to determine the order of the root (or the pole maybe?) instead of calculating the derivatives until we get a non zero value? I haven't found any solved examples and I don't know if there is a diferrent standard method of determining this.