Normal Distribution Table by nn

class C{static{double s=.5,c=.19947115e-4,t=c;for(int i=0,j=0;j<31e3;s+=i>86?t+(t=c/Math.exp(++j*j/2e8)):0)System.out.printf(i>9?i>85?j%100<1?(j%1e3<1?"\n%2$.1f |":"")+" %3$.4f":"":i>10?i!=15?"-":"+":"\n":(i>0?"   ":"  Z | ")+"0.0%d",i++,j/1e4,s);}}

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

download

return to the top page