An unexpected result involving sums of random numbers
|
03-12-2023, 02:09 AM
(This post was last modified: 03-12-2023 02:09 AM by Eddie W. Shore.)
Post: #29
|
|||
|
|||
RE: An unexpected result involving sums of random numbers
Modifying Gerson's program on the Swiss Micros DM42:
Code:
The program starts with assigning a seed of (Time Code + Date Code) as the seed and a random integer up to 10,000 as X. At first the average of the results seem to conjugate towards e, but the trials, it appears the limit may be a different constant: n = 30 Mean = 2.71830158802 (about 2E-5 from e) St.Dev = 0.0235108873611 n = 42 Mean = 2.71845315567 (about 1.17E-4 from e) St.Dev = 0.0201541663394 n = 54 Mean = 2.71967147586 (about 1.38E-3 from e) St.Dev = 0.019176372560 The samples were taken on March 11, 2023 around 5:30 PM to 5:45 PM (1730 to 1745) Pacific Standard Time. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)