Computer Networking: A Top-Down Approach (7th Edition)
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
Bartleby Related Questions Icon

Related questions

Question

he Dice game of “Pig” can be played with the following rules.

  1. Roll two six-sided dice. Add the face values together.
  2. Choose whether to roll the dice again or pass the dice to your opponent.
  3. If you pass, then you get to bank any points earned on your turn. Those points become permanent. If you roll again, then add your result to your previous score, but you run the risk of losing all points earned since your opponent had rolled. 
  4. Continue to roll as much as you want. However, once a “1” comes up on either die, your score is reduced to 0, leaving you only with points that you have previously "banked." Furthermore, you must pass the dice to your opponent.

The first person to 100 points is the winner.

When a player rolls two dice, the possible outcomes are as follows:

  Die #2 Roll
Roll a 1 Roll a 2 Roll a 3 Roll a 4 Roll a 5 Roll a 6
Die #1 Roll Roll a 1 0 0 0 0 0 0
Roll a 2 0 4 5 6 7 8
Roll a 3 0 5 6 7 8 9
Roll a 4 0 6 7 8 9 10
Roll a 5 0 7 8 9 10 11
Roll a 6 0 8 9 10 11 12

You can see that a player gets 0 points if they roll a 1 on either die. Otherwise their score comes from adding the results of the two dice. There are 25 ways to "successfully" roll the dice and 11 ways to "unsuccessfully" roll the dice, where "success" is not rolling a 1 on either die. 

Single Roll

When we take the mean of the 25 successful rolls we get 8. We will assume that on a successful roll, the player earns 8 points. 

P(success) = 2536 

P(failure)=1136 

Value(success) = 8

Value(failure) = 0

What is the expected value for a single roll? 11 (Round to four decimal places)

Two Rolls

If we chose to pass the dice, then we would bank those points. If we chose to keep rolling, then in order to be successful we would need to roll no 1's twice. However, we would expect to get twice as many points IF we were to roll successfully. This would give us:

P(success) = (2536)2 

P(failure) = 1-(2536)2 

Value(success) = 16

Value(failure) = 0

What is the expected value for rolling twice?   (Round to four decimal places)

More Rolls

As you can see, if we chose to roll even more times, then we could calculate the probabilities and values in a similar way. If we were to roll n times, then we have:

P(success) = (2536)� 

P(failure) = 1-(2536)� 

Value(success) = 8⋅� 

Value(failure) = 0

What would the expected value be for:

Three rolls?   (Round to four decimal places)

Four rolls?   (Round to four decimal places)

Five rolls?   (Round to four decimal places)

Strategy

Having looked at the five different strategies, which would you choose?

 

  • Roll once before passing
  • Roll twice before passing
  • Roll three times before passing
  • Roll four times before passing
  • Roll five times before passing

Why would you choose this strategy?

Expert Solution
Check Mark
Step 1

Expected values for different strategies in the Pig dice game, is given by the formula for EV i.e.

Expected Value = (probability of success * value of success) + (probability of failure * value of failure)

Here "success" implies not rolling a 1 on any of the dice and "failure" implies rolling at least one 1 on the dice.

 

Single Roll case:

P(success) = 25/36
P(failure) = 11/36
Value(success) = 8
Value(failure) = 0

Expected Value = (25/36 * 8) + (11/36 * 0) = 200/36 = 5.56

 

Two Rolls case:

If we choose to roll twice, then two successful rolls needed to earn points, which means not rolling a 1 on any of the dice in both rolls. The probability of this happening is:

P(success) = (25/36)^2 = 625/1296
P(failure) = 1 - (25/36)^2 = 671/1296
Value(success) = 16
Value(failure) = 0

Expected Value = (625/1296 * 16) + (671/1296 * 0) = 12500/1296 = 9.63

Still need help?
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

Why is the strategy of rolling twice before passing the dice should be chosen? explain in detail.

Solution
Bartleby Expert
by Bartleby Expert
SEE SOLUTION
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

Why is the strategy of rolling twice before passing the dice should be chosen? explain in detail.

Solution
Bartleby Expert
by Bartleby Expert
SEE SOLUTION
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON
Text book image
Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science
Text book image
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning
Text book image
Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning
Text book image
Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education
Text book image
Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY