Learning Scientific Programming with Python (2nd edition)
P3.1.3: Plotting the Gaussian function
Question P3.1.3
The normalized Gaussian function centered at $x=0$ is $$ g(x) = \frac{1}{\sigma\sqrt{2\pi}}\exp\left(-\frac{x^2}{2\sigma^2}\right). $$ Plot and compare the shapes of these functions for standard deviations $\sigma=1, 1.5\;\mathrm{and}\;2$.