Show that $\int \frac{1-cosx}{x^2}\ dx=\frac{\pi}{2}$.
I used Taylor's series for cosx to find integral but I don't see intergal becoming equal to $\frac{\pi}{2}$ without any limits of integration.
I have written the question as it is given. But I think question is wrong as integral can't be equal to a constant value.