You are going to play a game where you bet a dollar and get to flip a coin ten times. If you get four heads in a row, you win. If you make the tenth flip without getting four heads in a row, you lose. Run this game ten thousand times. Approximately what is the probability that you will win?
Can someone help me out hard problem? I know I need to set it up in excel.
i am guessing it is something related to permutations or combinations right?
yeah
oh noooooooooo ... it will take some time man like 10 mins
Yeah I know
btw running this game a thousant times doesnt make a difference the probability remains the same
ok
How do you figure out what the probability is?
so first find out the total number of permutations possible ....
ok
How do I do that
use the formula dude>>>??!?!
Are you talking about RandBetween?
there are 90 possible outcomes according to me .. i guess
yes
no wait....
I need help setting it up
ok
wait...
Alright I will wait
u there still
yes
ok
god this is soooo hard...... total number of combinations =20!/(10!*10!)
now the hard part .. to find how may of them will occur in fours
what does that mean
so you have no idea about permutations and combinations?
Do you know how to set this up excel
no!
I have some idea
i got the answer anyways ...it is|dw:1382215826887:dw|
Bigtim10 I have set it up in Excel (the Open Office version of Excel) Cells C5 through C14 are each =RAND() (generates random number from 0 to 1)
Alright
There's more to it than just that
yeah i know
What goes in Column A and B
Nothing goes in Column A or B I usually don't start a worksheet in cell A1 ANyway The cells next to C5 are the 10 cells (D5 to E14) and they each have this formula =IF(C5>0.5;1;0)
@wolf1728 why dont you just upload the file?
Are you talking about uploading the excel spreadsheet
Yes
ok here is the upload
Wrong upload
That worked! Maybe I should upload a spreadsheet to you.
Here is a test file It has and ods extension which I think should work - anyway give it a try
I can save a spreadsheet to xls BUT it does have a few problems. I like to avoid all those problems. :-)
That document you sent doesn't work
u there
Okay then I'll send the next one as xls By the way I took a little while because I put some comments (labels) as to what the cells and columns do.
Ok I don't understand that document
You don't understand? I put the comments in there for that reason. Okay, the final answer you might be looking for is found in cell D24. If D24 is 0 there is not 1 occurrence in 10 throws of 4 heads in a row. If the sum is 1 there is at least 1 occurrence of 4 heads in a row.
I'm guessing that you'd want it so it could simulate 10,000 coin flips. Maybe I should rewrite it for 100 (to keep the file size smaller). That way, if you want to add more columns, it is much easier than just working from 1 column.
Here is the NEW spreadsheet.
Hey, I just made an Excel spreadsheet showing ALL possible outcomes. There are 251 successes out of 1,024.
good!
Join our real-time social learning platform and learn together with your friends!