Test the convergences of the following series
$$ \sum_{n=1}^{\infty} (-1)^n \frac{ \sin n}{\sqrt{n}}$$
Test the convergences of the following series
$$ \sum_{n=1}^{\infty} (-1)^n \frac{ \sin n}{\sqrt{n}}$$
Denote $\theta = 1 + \pi$, $a_n = (-1)^n \sin n = \sin(n \theta)$ and $\phi(x) = \frac{1}{\sqrt{x}}$. Then compute
$$A(x) = \sum_{1 \le k \le x} a_k = \textrm{Im}\left(\sum_{1 \le k \le x} e^{i k \theta}\right) = \textrm{Im}\left(\frac{e^{i (\lfloor x \rfloor +1) \theta}-e^{i \theta}}{e^{i \theta}-1}\right)$$ Which yields $$|A(x)| \le \left|\frac{e^{i (\lfloor x \rfloor+1) \theta}-e^{i \theta}}{e^{i \theta}-1}\right| \le \frac{2}{|e^{i \theta}-1|}$$
So $x \mapsto A(x)$ is bounded. Using Abel's summation formula, you may write
$$\sum_{1 \le n \le x} a_n \phi(n) = A(x)\phi(x) - \int_1^x A(x)\phi'(x) \, dx$$
Since $A$ is bounded, and $\phi$ goes to zero at infinity, you may check that both terms in the right hand side of the above expression have a limit at infinity.