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.