Casio calculator and Roll Two Dice in Random
|
08-21-2020, 11:53 AM
Post: #2
|
|||
|
|||
RE: Casio calculator and Roll Two Dice in Random
For calculator with only RAN#, we can still get an unbiased dice throws.
see Exact Discrete pseudo-Random Sampling thread Here, we assume RAN# have range 0.000 to 0.999, or 1000 possibilities, all equally likely. Method 1: treat each digits as a throw, but eliminate bad cases (outside 1 to 6) RAN#: 0.846 0.479 0.035 -> dice throws = 4 6 4 3 5 // eliminated 4 throws out of 9 Method 2: same idea, but with base 1000, so we need to remove 1000 mod 6 = 4 cases. 1 + 6 RAN#, dice throw = integer part, invalid throws = fractional parts > 0.995 1 + 6 RAN#: 1.492 6.4 5.32 4.444 2.236 -> dice throws = 1 6 5 4 2 // all valid throws |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Casio calculator and Roll Two Dice in Random - Gamo - 08-21-2020, 02:00 AM
RE: Casio calculator and Roll Two Dice in Random - Albert Chan - 08-21-2020 11:53 AM
RE: Casio calculator and Roll Two Dice in Random - Albert Chan - 08-22-2020, 01:25 AM
RE: Casio calculator and Roll Two Dice in Random - pinkman - 08-21-2020, 09:16 PM
RE: Casio calculator and Roll Two Dice in Random - Joe Horn - 08-22-2020, 07:20 AM
RE: Casio calculator and Roll Two Dice in Random - pinkman - 08-22-2020, 03:24 PM
|
User(s) browsing this thread: 1 Guest(s)