Ask your own question, for FREE!
Mathematics 19 Online
OpenStudy (anonymous):

You are going to roll four twenty-sided dice. If the rolls total to 20 or less, roll two more twenty-sided dice and add that to the total. For instance, if the total of my four die rolls is 32, then that is the score of the game. If the total is 17, then I roll two more dice and add that to the total. If these two bonus dice total 20, then the score of that game is 37. Of ten thousand games, what is the average score? I need help with the second half of this problem, if the score of the game is less than 20.

OpenStudy (anonymous):

Need some help setting this up in excel.

OpenStudy (anonymous):

Basically, you want to use excel to run this experiment 10000 times and then see what the average score is. Do you know how to generate random numbers in Excel?

OpenStudy (anonymous):

yes i know the randbetween its mainly the second part of the problem that has stumped me

OpenStudy (anonymous):

so would i have to show all 10k games in the spreadsheet?

OpenStudy (anonymous):

yeah. In your first row, in 4 adjacent cells, i'd enter randbetween(1,20). That'll give you your 4 20 sided die.

OpenStudy (anonymous):

got it

OpenStudy (anonymous):

In the 5th column enter the formula: =if(sum(A1:D1)>20,sum(a1:d1),sum(a1:d1) + randbetween(1,20) + randbetween(1,20))

OpenStudy (anonymous):

then copy that row down 10000 rows.

OpenStudy (anonymous):

then average that 5th column with the average function.

OpenStudy (anonymous):

copy all rows down to 10K?

OpenStudy (anonymous):

Yeah. I just did it. You can recalc the thing by hitting F9. I always get an average between 42.4 and 42.7

OpenStudy (anonymous):

pretty cool to see an excel problem on here. I worked a lot in excel for years, but i never see questions on it here!

OpenStudy (anonymous):

hold on im starting to get lost

OpenStudy (anonymous):

i'm assuming that your 20 sided dice is numbered from 1 to 20.

OpenStudy (anonymous):

im pretty good in math im just not very proficient in excel

OpenStudy (anonymous):

cool

OpenStudy (anonymous):

the sum of the first 4 dice is hardly ever 20 or less...but in 10000 trials, it happens occasionally

OpenStudy (anonymous):

1 sec i just screwed the whole thing up

OpenStudy (anonymous):

if i want these numbers to stop changing what i got to do

OpenStudy (anonymous):

copy paste maybe??

OpenStudy (anonymous):

Why do you not want them to change?

OpenStudy (anonymous):

nvm i see what its doing ok so now how do i do the part about if it equals 20 roll 2 more dice

OpenStudy (anonymous):

what about rolls for the ones that equal 20 or less. thats was what was getting at with the numbers changing

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!