As far as I know that the Gaussian Integral $$\int_{- \infty}^{\infty} e^{-ax^2} = \frac{\pi}{a}$$ And using the above integration the Author D. Griffiths computed the integration (7.3) and (7.5). But I find contradiction in the equation (7.5). I used the same formula but got the result
$$-\frac{2 \hbar^2 b^2}{m}$$ But they got different. If their computation was a typo they won't use again and again, but they used it and got the final result correct. Am I doing wrong somewhere in the equation (7.5)?
