I haven't been able to find whether or not De Moivre's Theorem ($(\cos\theta +i\sin\theta)^n = \cos(n\theta) + i\sin(n\theta)$ ) is true for all real numbers n or if it's just true for integer values of n (I'm only taught the latter).
If not, is there a function that makes it true for all real n, or at least all rational n?
Thanks