1) Generate a probability histogram of the number of rolls required of two dice before a sum of "7" appears (graphical answer followed by Matlab code). Note: Don't plot experiment that took more than 60 rolls. 2) Generate an unfair six-sided die. The die has sixe sides [1, 2, 3, 4, 5, 6] with probabilities: [p1, P2, P3, P4, P5, P6] = [0.1, 0.15. 0.3, 0.25, 0.05, 0.15]. Simulating the roll of the die for N = 10,000 times, and plot the PMF of your unfair die as stem plot. The stem plot should verify that the six sides of your unfair die follow the required probabilities. 3) When 100 coins are tossed find the probability that exactly 35 will be heads (numerical answer followed by Matlab code), assuming the number of experiments is 100000.

A First Course in Probability (10th Edition)
10th Edition
ISBN:9780134753119
Author:Sheldon Ross
Publisher:Sheldon Ross
Chapter1: Combinatorial Analysis
Section: Chapter Questions
Problem 1.1P: a. How many different 7-place license plates are possible if the first 2 places are for letters and...
icon
Related questions
Question

number 3 please

1) Generate a probability histogram of the number of rolls required of two dice
before a sum of "7" appears (graphical answer followed by Matlab code). Note:
Don't plot experiment that took more than 60 rolls.
2) Generate an unfair six-sided die. The die has sixe sides [1, 2, 3, 4, 5, 6] with
probabilities: [p1, P2, P3, P4, P5, P6] = [0.1, 0.15.0.3, 0.25, 0.05, 0.15]. Simulating
the roll of the die for N = 10,000 times, and plot the PMF of your unfair die as
stem plot.
The stem plot should verify that the six sides of your unfair die follow the
required probabilities.
3) When 100 coins are tossed find the probability that exactly 35 will be heads
(numerical answer followed by Matlab code), assuming the number of
experiments is 100000.
Transcribed Image Text:1) Generate a probability histogram of the number of rolls required of two dice before a sum of "7" appears (graphical answer followed by Matlab code). Note: Don't plot experiment that took more than 60 rolls. 2) Generate an unfair six-sided die. The die has sixe sides [1, 2, 3, 4, 5, 6] with probabilities: [p1, P2, P3, P4, P5, P6] = [0.1, 0.15.0.3, 0.25, 0.05, 0.15]. Simulating the roll of the die for N = 10,000 times, and plot the PMF of your unfair die as stem plot. The stem plot should verify that the six sides of your unfair die follow the required probabilities. 3) When 100 coins are tossed find the probability that exactly 35 will be heads (numerical answer followed by Matlab code), assuming the number of experiments is 100000.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer