Post Reply 
(12C) Random Number (No Seed Needed)
12-31-2017, 08:13 AM (This post was last modified: 01-05-2018 03:45 AM by Gamo.)
Post: #1
(12C) Random Number (No Seed Needed)
This Random Number Generator program used Pi and e^x to generate number between zero and one that no starting seed is necessary.
This sample Random Generator program generate 6 digits integers.

Code:

RCL 0
355
ENTER
113
/
+
e^x
FRAC
STO 0
EEX
6
x
INTG

Example: R/S --> 676,246 R/S --> 505,826 R/S --> 375,537

Above result will be difference than this example.

Here is the Random Generator portion between 0 to 1 with automatic random generator loop.

Code:

RCL 0
355
ENTER
113
/
+
e^x
FRAC
STO 0
PSE
GTO 01

Randomness loop result.

Gamo





Gamo
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(12C) Random Number (No Seed Needed) - Gamo - 12-31-2017 08:13 AM



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