Re:How many draws of a random number [0,1] are needed to sum...
by psyklic on Sunday February 24, 2013 @02:08PM
(#5275432)
Doubly confirmed. 2.71832 over 100M trials.
[ Parent
| on HN ]
Re:How many draws of a random number [0,1] are needed to sum...
by DanWaterworth on Sunday February 24, 2013 @02:17PM
(#5275473)
This is almost exactly what I wrote, I've done more than 4 billion trails and I have: 2.7182718267 (pypy speeds it up a lot).
Re:How many draws of a random number [0,1] are needed to sum...
by Natsu on Sunday February 24, 2013 @03:01PM
(#5275667)
It's funny. I read the problem, estimated that it was "probably 2 or 3" and then wasn't all that surprised to find that the solution was e. The derivation of it is pretty cool, too.