This is an applet for exploring the general exponential function $y = a^{-\frac{x^2}{b}}$
Move the sliders for a and b to see the effect on the graph:
$y=3^{-\frac{x^2}{2}}$