Normal Distribution Table by eban

s="  Z | "+(0..9).map{|x|"0.0#{x}"}*"   "+"
----+"+"-"*70
0.step(3,0.1){|z|s<<"
%.1f |"%z
10.times{t=q=z/Math.exp(z*z/2)/2.506628
3.step(99,2){|i|q+=t*=z*z/i}
s<<" %.4f"%(q+0.5)
z+=0.01}}
puts s

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

download

return top