This is just a slick derivation of the definite integral of a Gaussian from minus infinity to infinity.
With other limits, the integral cannot be done analytically but is tabulated.
Functions are available in computer libraries to return this important integral.
Integral of Gaussian
The answer is
Integrate over both
Transform to polar coordinates.
Now just take the square root to get the answer above.
Other forms can be obtained by differentiating with respect to