Normal Distribution Table by nn

o='  Z | 0.00'
for(i=j=0;i++<85;s=.5)o+=i>9?i-10?i-15?'-':'+':'\n':'   0.0'+i
for(c=t=.19947115e-4;j<31e3;u=c/Math.exp(++j*j/2e8),s+=t+u,t=u)j%100?0:o+=(j%1e3?' ':'\n'+(j/1e4).toFixed(1)+' | ')+s.toFixed(4)
print(o)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page