Which of the following are correct
A. $(e^z)^n = e^{nz}$, $(n = 0, \pm 1, \pm 2, \dots)$
B. Let $f(z) = u(x,y) + i v(x,y)$ be analytic on some domain $D$. Then $T(x,y) = e^{u(x,y)} \cos v(x,y)$ is harmonic in $D$.
C. $e^z \neq 0$ for all $z \in \mathbb{C}$.
D. The principal value of $(i)^i$ is $\exp\left(\frac{\pi}{2}\right)$
E. $\cos z = \frac{e^{iz} - e^{-iz}}{2}$
Choose the correct answer from the options given below: