with
Thus,
Your objective is to find the integral correct.
Now i happen to find doing things like these and Riemann sums and the Simpson's and Midpoint rules hopelessly annoying. I have somewhat purposed in my heart to forget how to do them, so what i say may not be 100% correct, but you can verify what i say with your text.