simulation in probability

How would you use simulation to estimate the probability of a coin toss turning up heads?
I’m not very sure
1.use 0,1. 0 represent head,1 represent tail, ignore 2-9
2.use random number generator
3. Examine 10 number, and count how many are heads
4.run maybe 100 trials and see how many contain 0.
 
I’m not very sure
1.use 0,1. 0 represent head,1 represent tail, ignore 2-9
2.use random number generator
3. Examine 10 number, and count how many are heads
4.run maybe 100 trials and see how many contain 0.
Sounds good. Can you use a similar approach with the orbs?
 
Sounds good. Can you use a similar approach with the orbs?
1.Use 0-4, 0 represent red orbs,1-blue, 2-green, 3-yellow, 4-purple, ignore 5-9
2.use random number generator
3.examine 10 numbers, and count how many are elemental attributes
4. Run 200 trials and see how many contain at least 3 orbs of each colour for the elemental attributes.
Am I right?
 
1.Use 0-4, 0 represent red orbs,1-blue, 2-green, 3-yellow, 4-purple, ignore 5-9
2.use random number generator
3.examine 10 numbers, and count how many are elemental attributes
4. Run 200 trials and see how many contain at least 3 orbs of each colour for the elemental attributes.
Am I right?
How many numbers do you need to generate?
Looks good otherwise.
 
Top