If $n$ is a positive integer, show that
$$ \int_{\sqrt{n\pi}}^{\sqrt{(n+1)\pi}} \sin(t^2) dt = \frac{(-1)^n}{c}$$
for some $c \in [\sqrt{n\pi}, \sqrt{(n+1)\pi}]$
I have an idea that i can use Mean value Theorem, but I am not able to proceed.
Please give me hints, and to why the steps come to mind with intuition?