利用欧拉公式证明cosθ+cos2θ+cos3θ+···+cosnθ=-1/2+sin(n+1/2)θ/sin(θ/2)

问题描述:

利用欧拉公式证明cosθ+cos2θ+cos3θ+···+cosnθ=-1/2+sin(n+1/2)θ/sin(θ/2)

cosθ=[e^(iθ)+e^(-iθ)]/2
cos2θ=[e^(2iθ)+e^(-2iθ)]/2
cos3θ=[e^(3iθ)+e^(-3iθ)]/2
...
cosnθ=[e^(inθ)+e^(-inθ)]/2