pierce15
- 313
- 2
Is there a way to find the cosine of i, the imaginary unit, by computing the following infinite sum?
cos(i)=\sum_{n=0}^\infty \frac{(-1)^ni^{2n}}{(2n)!}
Since the value of ##i^{2n}## alternates between -1 and 1 for every ##n\in\mathbb{N}##, it can be rewritten as ##(-1)^n##.
\sum_{n=0}^\infty \frac{(-1)^n(-1)^n}{(2n)!}
##(-1)^n(-1)^n=(-1)^{2n}##, which is equal to one for all ##n\in\mathbb{N}##. Thus,
cos(i)=\sum_{n=0}^\infty \frac{1}{(2n)!}
Is all of this correct? If so, how would the final sum be calculated?
Edit: got the inline equations working
cos(i)=\sum_{n=0}^\infty \frac{(-1)^ni^{2n}}{(2n)!}
Since the value of ##i^{2n}## alternates between -1 and 1 for every ##n\in\mathbb{N}##, it can be rewritten as ##(-1)^n##.
\sum_{n=0}^\infty \frac{(-1)^n(-1)^n}{(2n)!}
##(-1)^n(-1)^n=(-1)^{2n}##, which is equal to one for all ##n\in\mathbb{N}##. Thus,
cos(i)=\sum_{n=0}^\infty \frac{1}{(2n)!}
Is all of this correct? If so, how would the final sum be calculated?
Edit: got the inline equations working
Last edited: