I have worked something out like the following
https://math.stackexchange.com/a/1172454/626039
- reproduced here:
n∑k=1sin(kθ)=ℑn∑k=1eikθ=ℑ(eiθeinθ−1eiθ−1)=ℑ(eiθeinθ/2(einθ/2−e−inθ/2)eiθ/2(eiθ/2−e−iθ/2))=ℑ(eiθeinθ/2(2isin(nθ/2))eiθ/2(2isin(θ/2)))=ℑ(ei(n+1)θ/2sin(nθ/2)sin(θ/2))=ℑ((cos((n+1)θ/2)+isin((n+1)θ/2))sin(nθ/2)sin(θ/2))=sin((n+1)θ/2)sin(θ/2)sin(nθ/2).
The only problem is that i want to do this for when the sequence starts at k = 0 NOT k = 1 . I can't seem to achieve the same result but it should do according to my question.
No comments:
Post a Comment