J
jmsmit5
Hi,
I have a problem for a math class that I am supposed to do in Excel.
am supposed to simulate 50, 600, and 4000 coin tosses, and calculate th
number of heads (1) and tails (0) I get.
Here is the exact question:
a. Simulate 50 tosses of the coin by generating 50 random (integer
numbers between 0 and 1. Then calculate the mean of these 50 numbers.
THis mean gives you the proportion of 50 tosses that resulted in tails.
Using this proportion, calculate the number of heads and tails yo
obtained in 50 simulated tosses.
b. Repeat part a by simulating 600 tosses.
c. Repeat part a by simulating 4000 tosses.
I understand the formula for generating random numbers (for m
application) is =floor(rand()*(1-0+1)+0,1)
How do I repeat this formula 50, 600 and 4000 times? I really don'
want to copy and paste the formula into new cells 4000 times. And ho
does regenerating the data (F9) apply to this formula? I realize I a
getting random numbers everytime I hit F9, maybe the formula ha
something to do with repeating that function.
TIA,
Justi
I have a problem for a math class that I am supposed to do in Excel.
am supposed to simulate 50, 600, and 4000 coin tosses, and calculate th
number of heads (1) and tails (0) I get.
Here is the exact question:
a. Simulate 50 tosses of the coin by generating 50 random (integer
numbers between 0 and 1. Then calculate the mean of these 50 numbers.
THis mean gives you the proportion of 50 tosses that resulted in tails.
Using this proportion, calculate the number of heads and tails yo
obtained in 50 simulated tosses.
b. Repeat part a by simulating 600 tosses.
c. Repeat part a by simulating 4000 tosses.
I understand the formula for generating random numbers (for m
application) is =floor(rand()*(1-0+1)+0,1)
How do I repeat this formula 50, 600 and 4000 times? I really don'
want to copy and paste the formula into new cells 4000 times. And ho
does regenerating the data (F9) apply to this formula? I realize I a
getting random numbers everytime I hit F9, maybe the formula ha
something to do with repeating that function.
TIA,
Justi