For what $a$ does this $\int_0^{+\infty}\frac{\sin(x)\cos(1/x)}{x^a}$ converge?
I’m preparing for a test and this exercise has me wondering: I though about breaking it up to $(0,1)$ and $(1,+\infty)$ interval but I don’t know how to do the $(0,1)$ part, the $(1,+\infty)$ should be doable by Abel-Dirichlet criteria.