Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Would you please do the last three bolded questions please?, its related to a computer programing, you could use matlab or similar programming Shut the
Would you please do the last three bolded questions please?, its related to a computer programing, you could use matlab or similar programming
Shut the Box The 18th century game of "shut the box" consists of a pair of dice and a set of numbers that car be flipped up and down. The game has a single player, with the following simple rules Start with all numbers flipped up 2. 1. You roll the dice to get some number D 3. You can either flip down the number D (if it isn't already flipped,) or you can flip down any two numbers that add up toD 4. If you can't flip down one or two numbers that add up to D, the game is over, otherwise, go back to step 2. 5. Your final score is the sum of thee numbers left standing--a lower score is better, and a score of 0 means you have flipped all numbers and "shut the box." In the picture on the right, the numbers range from 1-9, which seems to be the most common variation of the game. With a roll of 7 as pictured, the player could turn over 1 and 6, or 3 and 4 If the roll was 6 instead of 7, the player would only be able to turn over 6. If the roll were 2, the game would be over, with a score of 1+3+4+6+8+9 31 In this assignment, you will analyze this game to determine the best strategy for playing, and to compute some parameters of the game QUESTION 1: What is the worst possible score you can get in this game? How would it happen, and what is the probability that it would happen? QUESTION 2: Is there any state in this game that can never occur? Whenever we are given a choice-for example a choice between flipping 1+6 or 3+4, we would like to know which choice is best. Suppose at the start of the game we roll an 8: should we flip over the 8, or should we flip over two numbers like 2+6? Which is better? Using a computer, we can analyze every possible game, because there are only 29 states, and there are only 11 possible die rolls, so every move in the game is one of only 5632 scenarios. With each scenario we can examine all available moves, and pick the one that is "best." We could define "best" in a number of ways, for example 1. A move is considered "best if it maximizes your odds of eventually shutting the box 2. A move is considered "best" if it minimizes your expected score We can determine either of these by conditional probability, using the methods from class Shut the Box The 18th century game of "shut the box" consists of a pair of dice and a set of numbers that car be flipped up and down. The game has a single player, with the following simple rules Start with all numbers flipped up 2. 1. You roll the dice to get some number D 3. You can either flip down the number D (if it isn't already flipped,) or you can flip down any two numbers that add up toD 4. If you can't flip down one or two numbers that add up to D, the game is over, otherwise, go back to step 2. 5. Your final score is the sum of thee numbers left standing--a lower score is better, and a score of 0 means you have flipped all numbers and "shut the box." In the picture on the right, the numbers range from 1-9, which seems to be the most common variation of the game. With a roll of 7 as pictured, the player could turn over 1 and 6, or 3 and 4 If the roll was 6 instead of 7, the player would only be able to turn over 6. If the roll were 2, the game would be over, with a score of 1+3+4+6+8+9 31 In this assignment, you will analyze this game to determine the best strategy for playing, and to compute some parameters of the game QUESTION 1: What is the worst possible score you can get in this game? How would it happen, and what is the probability that it would happen? QUESTION 2: Is there any state in this game that can never occur? Whenever we are given a choice-for example a choice between flipping 1+6 or 3+4, we would like to know which choice is best. Suppose at the start of the game we roll an 8: should we flip over the 8, or should we flip over two numbers like 2+6? Which is better? Using a computer, we can analyze every possible game, because there are only 29 states, and there are only 11 possible die rolls, so every move in the game is one of only 5632 scenarios. With each scenario we can examine all available moves, and pick the one that is "best." We could define "best" in a number of ways, for example 1. A move is considered "best if it maximizes your odds of eventually shutting the box 2. A move is considered "best" if it minimizes your expected score We can determine either of these by conditional probability, using the methods from classStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started