Normal Distribution Table by inaniwa(another)

i,j;float q,z,t,p;main(){for(;j<81;)printf(j++>9?j-11?"-":"\n----+":"  %s 0.0%d",j?"":"Z |",j);for(;i<310;printf(" %.4f",q+.5))for(z=i*.01,i++%10||printf("\n%.1f |",z),t=q=z*exp(-z*z/2)/2.506628,j=3;q-p;j+=2)p=q,t*=z*z/j,q+=t;}

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

download

return to the top page