Integrate[x/sqrt(2pi)e^(-(x-4)^2/2), {x,-\infty, +\infty}]