Evaluating the Integral $\int_{-\infty}^\infty e^{-x^2}\cos\big(2x^2\big)\,\mathrm dx$ How to compute the integral
$$\int_{-\infty}^\infty e^{-x^2}\cos\big(2x^2\big) dx$$
I am wondering if there's a nice closed form of this elegant integral. I have tried to compute this integral using some substitutions, Laplace and Mellin transforms, however it doesn't seem to get or transform to something more simplified.
Any approach (including complex analysis) is most welcomed.
Thanks.
EDIT $\textbf{1}$: @heropup has provided a beautiful answer, however I would be much more happy if there's another nice way to prove the same. Thanks.

Using the gaussian integral
$$I=\int_{-\infty}^\infty e^{-x^2}\cos\big(2x^2\big)\, dx=\Re\Bigg[\int_{-\infty}^\infty e^{-(1-2 i) x^2}\,dx\Bigg]$$
$$I=\Re \Bigg[\sqrt{\frac \pi {1-2i}}\Bigg]=\sqrt \pi\,\Re \Bigg[\sqrt{\frac{1}{5}+\frac{2 i}{5}}\Bigg]=\frac{\sqrt{\pi }}{\sqrt[4]{5}}\, \cos \left(\frac{1}{2} \tan ^{-1}(2)\right)$$ Finally
$$I=\sqrt{\frac{1+\sqrt{5}}{10} \, \pi }$$
