We know Euler formula:
$$ e^{ix}=\cos(x)+i\sin(x). $$
Does this formula work if we replace real number $x$ with complex number $z$?
We know Euler formula:
$$ e^{ix}=\cos(x)+i\sin(x). $$
Does this formula work if we replace real number $x$ with complex number $z$?
Yes, it does. In fact its validity for real $x$ implies its validity for complex $x$ also because the real line has limit points in the complex plane. [If two analytic functions are equal on a set with limit points then they are equal everywhere].