S=[]; for (j=0;j<100;j++){ u=j/100*e*p-e*p/2; theV=e*e/12*p; S.push([u,Math.exp(-u*u/(2*theV))/Math.sqrt(2*Math.PI*theV)]); }; S