Question: Modify your roll.html page so that it rolls the dice until their combined sum equals 7. Then, use this new page to conduct 20 different

Modify your roll.html page so that it rolls the dice until their combined sum equals 7. Then, use this new page to conduct 20 different experiments, counting how many rolls it takes to obtain a 7 each time. Report your results. On average, a 7 should appear within 4 rolls. Do your results support this claim? Explain.

Make a similar modification to your page, causing it to roll the dice until their combined sum equals 2. Use your page to conduct 20 different experiments, counting how many rolls it takes to obtain a 2 each time. Report your results. On average, a 2 should appear within 25 rolls. Do your results support this claim? Explain.

Step by Step Solution

3.46 Rating (169 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

1409-C-S-O-S(1094).docx

120 KBs Word File

Students Have Also Explored These Related Operating System Questions!