# For z in the field of complex numbers

Hint: $2i = 2(\cos {\frac{\pi}{2}} + i \sin {\frac{\pi}{2}}) = 2e^{i \frac{\pi}{2}}$.