I'm trying to evaluate the following sum:
$$\displaystyle\sum\limits_{n=1}^{\infty}\frac{(-1)^n \sin(n)}{n}$$
But I'm having trouble getting anywhere. Wolphram Alpha indicated some stragety that uses complex logarithms in order to find the answer, which seems to be $-0.5$.
Anyone know a good strategy here?
Running with my initial comment, it turns out there is a way to make this strategy work.
Consider the function $s(x) = x/\pi$ when $x \in (- \pi, \pi)$, and extend this function to be periodic of period $2 \pi$ on the whole real line. This function is piecewise smooth, and so has a Fourier series, which is calculated in this wikipedia link. The resulting series is $$s(x) = \frac{2}{\pi}\sum_{n=1}^\infty \frac{(-1)^{n+1}\sin(nx)}{n} = -\frac{2}{\pi}\sum_{n=1}^\infty \frac{(-1)^n\sin(nx)}{n}$$
Which is a number times your sum. Denoting this sum as $S(x)$, and evaluating $s(x)$ at $1$, we get $\frac{1}{\pi}$, so $$s(1) = -\frac{2}{\pi}S(1) = \frac{1}{\pi}$$
This implies the answer Wolfram Alpha gave!