HP41C random number generator help

12052017, 03:24 PM
(This post was last modified: 12052017 03:38 PM by Trond.)
Post: #12




RE: HP41C random number generator help
(12052017 08:23 AM)Dieter Wrote: ?!? What "other programs"? http://www.hpmuseum.org/software/41/41ranjm.htm (12052017 12:30 PM)Namir Wrote: A good and simple algorithm (used by HP since the HP65 Stat Pacs) is: Wow, that is very simple. But it seems to assume that you start up with a number (seed) that is already non0 and has a fraction part. Some of the other programs seem to assume similar things. Sorry if I am missing some assumptions that everyone is making here. EDIT: ah never mind. I see Dieter already covered the same. I see that Dieter already suggested that we can start off with pi. This is a technique I remember someone mentioning years ago, another time, another place. Maybe I could start Namir's program with adding pi? 

« Next Oldest  Next Newest »

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