So I'm solving some exercises in which they ask to find where $f$ is analytic and then finding $f'(z)$. So I know that if a function doesn't satisfy Cauchy-Riemann then it is not analytic. I also know that there can be functions that satisfy Cauchy-Riemann but still they are not analytic. So, given a function that satisfies Cauchy-Riemann in all the complex plane, for example $f(z)=e^{-y}(\sin(x)+i\cos(x)$, can I calculate simply $f'(z)=e^{-y}(\cos(x)+\sin(x)$?
Here I'm using that if $f(z)=u(z)+iv(z)$ then $f'(z)=\frac{\partial u}{\partial x}+i\frac{\partial v}{\partial x}$
However this implies the existence of $f'(z)$.
Putting everything together: If $f$ satisfies Cauchy-Riemann how can I know if $f'$ exists?