For example, how do I find the value of:
$$ (\cos(e) + i\times\sin(e))^{\frac{\pi}{2}} $$
I've did a bit of searching and found this amazing question, and it gave me two ways "to raise a non-complex number to an irrational power":
- You can pick a sequence of rational numbers $x_n$ converging to $x$ (i.e., $\lim\limits_{n\to\infty} x_n = x$) and define $$a^x = \lim_{n\to\infty} a^{x_n}.$$
- You can use the exponential function $e^x$ (defined in many ways, say as $e^x = \lim_{n\to\infty} (1+\frac{x}n)^n$ or with a power series), and its inverse the logarithmic function that satifies $e^{\ln t} = t$ for all positive $t$, and since $a = e^{\ln a}$, define $$a^x = e^{x \ln a}.$$
The first way won't work with transcendental numbers such a $ \pi $, $ \frac{\pi}{2}$ and its family.
The second way will end up giving me $ \ln(i) $ in an exponent, which I'd rather not endure right now.
I tried De Moivre's, but I noticed that it only works for integer powers.
So how should I approach $(\cos(e) + i*\sin(e))^{\frac{\pi}{2}} $?
\times
for $\times$ because it is a more correct way to write multiplication (in this case); and there is a method to zoom math formulas (right click \ Math Settings \ Zoom Trigger \ Double-click then double-click at the formula), so including the "that tiny exponent" part is often unnecessary. – user202729 Nov 11 '17 at 13:13