I'm preparing for IIT advanced and came across this question:
$$\lim_{n\to\infty} \left[ \frac{1}{2}\tan\frac{x}{2} +
\frac{1}{2^2}\tan\frac{x}{2^2} + \frac{1}{2^3}\tan\frac{x}{2^3} + \cdots + \frac{1}{2^n}\tan\frac{x}{2^n} \right]$$
with answers :(It's a single choice correct MCQ)
Option A: $-\cot x$
Option B: $-\sin x$
Option C: $\cot x+\frac{1}{x}$
Option D: $-\cot x+\frac{1}{x}$
I thought putting simply an $x=0$ will do the job and bring Option B but apparently maths had some other ideas and gave answer D. Can someone please help me out in this one?