Question

Introduction to Probability (Bertsekas, 2nd edition) Python Programming Looking at problem 6, write a Python program...

Introduction to Probability (Bertsekas, 2nd edition)

Python Programming

Looking at problem 6, write a Python program to roll a six sided die where the faces come up with the probabilities in the problem. Run it for n = 10, 100, 1000, 10000, 100000. Do the percentages agree with your solution for problem 6? Please provide indented code as well. Thanks

Problem 6 Question - . A six-sided die is loaded in a way that each even face is twice as likely as each odd face. Construct a probabilistic model for a single roll of this die, and find the probability that a 1, 2, or 3 will come up.

Problem 6 Answer- Let c denote the probability of a single odd face. Then the probability of a single even face is 2c, and by adding the probabilities of the 3 odd faces and the 3 even faces, we get 9c = 1. Thus, c = 1/9. The desired probability is P({1, 2, 3}) = P({1}) + P({2}) + P({3}) = c + 2c + c = 4c = 4/9.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Python code and output:

Add a comment
Know the answer?
Add Answer to:
Introduction to Probability (Bertsekas, 2nd edition) Python Programming Looking at problem 6, write a Python program...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 52 68 Problem 6. (8 points) A six-sided die is loaded in a way that each...

    52 68 Problem 6. (8 points) A six-sided die is loaded in a way that each odd number is twice as likely as each even number. All odd faces are equally likely, as are all even faces. (1) (5 points) Construct a probabilistic model for a single roll of this die; By constructing a probablistic model it means you should provide the sample space and the probabilities of all single events. (2) (3 points) Find the probability that the outcome...

  • Problem 6. (8 points) A six-sided die is loaded in a way that each odd number...

    Problem 6. (8 points) A six-sided die is loaded in a way that each odd number is twice as likely as each even number. All odd faces are equally likely, as are all even faces. (1) (5 points) Construct a probabilistic model for a single roll of this die; By constructing a probablistic model it means you should provide the sample space and the probabilities of all single events. (2) (3 points) Find the probability that the outcome is less...

  • Problem 6. (8 points) A six-sided die is loaded in a way that each odd number...

    Problem 6. (8 points) A six-sided die is loaded in a way that each odd number is twice as likely as each even number. All odd faces are equally likely, as are all even faces. (1) (5 points) Construct a probabilistic model for a single roll of this die; By constructing a probablistic model it means you should provide the sample space and the probabilities of all single events. (2) (3 points) Find the probability that the outcome is less...

  • Problem 6. (8 points) A six-sided die is loaded in a way that each odd number...

    Problem 6. (8 points) A six-sided die is loaded in a way that each odd number is twice as likely as each even number. All odd faces are equally likely, as are all even faces. (1) (5 points) Construct a probabilistic model for a single roll of this die; By constructing a probablistic model it means you should provide the sample space and the probabilities of all single events. (2) (3 points) Find the probability that the outcome is less...

  • Show up your work 5. A six-sided dice is loaded in a way that each even...

    Show up your work 5. A six-sided dice is loaded in a way that each even face is twice as likely as cach odd face. All even faces are equally likely, as are all odd faces. Construct a probabilistic model for a single roll of this dice. i.c. construct a table (or a rule) that lists all the possible outcomes and the probability associated with each. Find the probability that, on a single roll, the outcome is at least 3....

  • A six-sided dice is loaded in a way that each even face is twice as likely...

    A six-sided dice is loaded in a way that each even face is twice as likely as each odd face. All even faces are equally likely, as are all odd faces. a. Construct a probabilistic model for a single roll of this dice. i.e. construct a table (or a rule) that lists all the possible outcomes and the probability associated with each. b. Find the probability that, on a single roll, the outcome is at least 3.

  • 5.A six-sided dice is loaded in a way that each even face is twice as likely...

    5.A six-sided dice is loaded in a way that each even face is twice as likely as each odd face. All even faces are equally likely, as are all odd faces. a. Construct a probabilistic model for a single roll of this dice. i.e. construct a table (or a rule) that lists all the possible outcomes and the probability associated with each. b. Find the probability that, on a single roll, the outcome is at least 3

  • Problem 1.3 Kevin has just fabricated a weighted six-sided die that is twice as likely to...

    Problem 1.3 Kevin has just fabricated a weighted six-sided die that is twice as likely to come up even than odd. You may assume that each even face has the same probability a and that each odd face has the same probability B. a) Using the basic probability axions, determine the values of a and ß. (b) What is the probability of getting an even face? (c) What is the probability of getting a roll than is 3 or greater?

  • Problem 1.3 Kevin has just fabricated a weighted six-sided die that is twice as likely to...

    Problem 1.3 Kevin has just fabricated a weighted six-sided die that is twice as likely to come up even than odd. You may assume that each even face has the same probability a and that each odd face has the same probability β. (a) Using the basic probability axioms, determine the values of a and B (b) What is the probability of getting an even face? (c) What is the probability of getting a roll than is 3 or greater?

  • . [8] A gambler suspects a six sided die is "loaded" meaning the center of mass of the die is not in the center but toward one face, thus shifting the probability of each face from 1/6 eac...

    . [8] A gambler suspects a six sided die is "loaded" meaning the center of mass of the die is not in the center but toward one face, thus shifting the probability of each face from 1/6 each to something else. In the course of 600 trials, she observes (122 "aces", 103 "twos.98 "threes 95 "fours", 105 "fives" and 77 sixes". On a die, the even and odd spots are on opposite sides so one way we could look at...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT