|
|
Tim Glover <tgl### [at] nettallycom> wrote:
: Actually, I said "approximate" a normal distribution. As long
: as you're adding a finite number of uniform numbers together,
: you're only approximating a normal distribution. Lots of numbers
: just gives a better approximation. My way's approximation is just
: not quite as good as your's <grin>
It's a VERY rough approximate, since by adding just two random values
you get a triangle wave distribution. With 3 values it certainly looks a lot
more like a normal distribution.
--
main(i){char*_="BdsyFBThhHFBThhHFRz]NFTITQF|DJIFHQhhF";while(i=
*_++)for(;i>1;printf("%s",i-70?i&1?"[]":" ":(i=0,"\n")),i/=2);} /*- Warp -*/
Post a reply to this message
|
|