Post Reply 
An unexpected result involving sums of random numbers
03-02-2023, 10:20 PM (This post was last modified: 03-02-2023 10:45 PM by Gil.)
Post: #17
RE: An unexpected result involving sums of random numbers
Sorry.

I added a "1 RDZ" unduly in the second part of the program.

The found values indeed —> clearly to 2.7 or 2.8, ie e.

"\\<< TIME 0. 'N' STO 1. RDZ 1. 100000.
START 0. 'S' STO
WHILE S 1. \\<=
REPEAT RAND 'S' STO+ 1. 'N' STO+
END
NEXT N 100000. / TIME ROT HMS-
\\>>"

Gives 2.71959.

With my apologies.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: An unexpected result involving sums of random numbers - Gil - 03-02-2023 10:20 PM



User(s) browsing this thread: 9 Guest(s)