Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The Riddler is a column on the website https://fivethirtyeight.com that posts logic, math, and probability puzzles each week. Some of puzzles can be attacked by

The Riddler is a column on the website https://fivethirtyeight.com that posts logic, math, and probability puzzles each week. Some of puzzles can be attacked by simulation and discrete probability: things that we have the tools to solve!

(https://fivethirtyeight.com/features/how-low-can-you-roll/)

You are given a fair, unweighted 10-sided die with sides labeled 0 to 9 and a sheet of paper to record your score. (If the very notion of a fair 10-sided die bothers you, and you need to know what sort of three-dimensional solid it is, then forget it you have a random number generator that gives you an integer value from 0 to 9 with equal probability. Your loss the die was a collector's item.)

To start the game, you roll the die. Your current "score" is the number shown, divided by 10. For example, if you were to roll a 7, then your score would be 0.7. Then, you keep rolling the die over and over again. Each time you roll, if the digit shown by the die is less than or equal to the last digit of your score, then that roll becomes the new last digit of your score. Otherwise you just go ahead and roll again. The game ends when you roll a zero.

For example, suppose you roll the following: 6, 2, 5, 1, 8, 1, 0. After your first roll, your score would be 0.6, After the second, it's 0.62. You ignore the third roll, since 5 is greater than the current last digit, 2. After the fourth roll, your score is 0.621. You ignore the fifth roll, since 8 is greater than the current last digit, 1. After the sixth roll, your score is 0.6211. And after the seventh roll, the game is over 0.6211 is your final score.

What will be your average final score in this game?

Part A: Suppose our current value is 0.0.abcd for some 1-9 integers ,,,.a,b,c,d. What is the theoretical distribution of e, the next term in the final score's decimal representation? Name the distribution and list all of its outcomes and their probabilities. Note that "there are no additional terms" should have non-zero probability.

Part B: What is the expected number of rolls until you're done? What is the theoretical variance in the number of rolls until you're done? What distribution is this?

Part C: Simulate 10000 trials of this game, recording a score for each, then compute and print the average score over all of those trials.

(Note: To check your result, you can find the exact expected solution in the following week's column: https://fivethirtyeight.com/features/can-you-decode-the-riddler-lottery/... but we want to simulate!)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Finite Mathematics

Authors: Stefan Waner, Steven Costenoble

6th Edition

1285415604, 9781285415604

More Books

Students also viewed these Mathematics questions

Question

Distinguish between poor and good positive and neutral messages.

Answered: 1 week ago

Question

Describe the four specific guidelines for using the direct plan.

Answered: 1 week ago