Compute the infinite sum $S,$ where
\[S = \frac{1}{2} - \frac{2}{4} + \frac{3}{8} - \frac{4}{16} + \frac{5}{32} - \dots + \frac{n}{2^n} (-1)^{n + 1} + \dotsb.\]
Question:
Compute the infinite sum $S,$ where
\[S = \frac{1}{2} - \frac{2}{4} + \frac{3}{8} - \frac{4}{16} + \frac{5}{32} - \dots + \frac{n}{2^n} (-1)^{n + 1} + \dotsb.\]
Answer:
Let's think step by step.

user
\frac{2}{9}
Compute the infinite sum $S,$ where
\[S = \frac{1}{2} - \frac{2}{4} + \frac{3}{8} - \frac{4}{16} + \frac{5}{32} - \dots + \frac{n}{2^n} (-1)^{n + 1} + \dotsb.\]
train