Question: If you wanted to run a simulation for something with a 25% (1 in 4) chance of success, then you could generate random numbers 1
If you wanted to run a simulation for something with a 25% (1 in 4) chance of success, then you could generate random numbers 1 - 4, and arbitrarily choose one of the numbers to represent a "success." You could choose "1" to be a "success," for instance.
Start of Questions
Suppose you want to simulate something with 6.25% (1 in 16) chance of success.
The most efficient way to simulate that with whole numbers would be to generate the numbers from 1 to, and arbitrarily choosenumber(s) to represent a "success."
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
