For the imaginary number "i" you could use pow(e, -1/-2) I guess but I believe the results would be meaningless without the complex part considered. The math is beyond me, perhaps someone else can help.
Well, in my 6 math courses at the university I never saw ei. The courses went all the way up to differential and integral calculus in multiple variables and equation resolution via numeric methods. So I am completely lost too. I wonder if the calculation is even possible and I wonder more about its application.
Really, you've never seen e^{ix} at university? In UK, I studied that in A-level. Don't know what equivalent is, but A-level is in school from 16-17 years old.
Really, I never saw it. This is the first time I've seen it mentioned. Do you know of any practical equations that use this? Maybe in electricity? That is one area I barely touched.
I have used polar coordinates before, but I always worked them in terms of trigonometric functions. I think I was never introduced to the exponential equivalent. Pretty darn interesting.
And no, I have done almost no work with complex numbers. They were limited to the basic (and only) electricity course that I took.
The cube roots are interesting too, but I never studied them (or the nth root).