Why does the following inequality hold?
$$\int_{\frac6\pi}^{\frac2{3\pi}}\frac{\cos\left(\frac1x\right)}{x^2}dx\ge0$$
I am new to integration so I may be blind to a careless mistake or need my handheld in the answer.
I have gone through the calculation and always end up with 1.5, but I am aware that the upper bound is smaller than the lower bound, and I am supposed to take the negative of my result.
Also from the graph from Wolfram Alpha, I do not understand why they even show a red negative section. I thought we were concerned with just the blue section.
Thank you to all who try to help.
As you've noted, $\frac6\pi>\frac{2}{3\pi}$, thus note that: $$\int_{\beta}^{\alpha}{f(x)dx}=-\int_{\alpha}^{\beta}{f(x)dx}$$ You most likely did $$\int_{\frac{2}{3\pi}}^{\frac6\pi}{\frac{\cos(\frac 1x)}{x^2}dx}$$so just take the negative of that.