6. A pair of dice are rolled once (so will have two numbers show up when we roll the pair). The sample space is S= {(1, 1),(1, 2),(1, 3), ..,(6, 5), (6, 6)}. There are 36 elements in the sample %3D ..... space, and they are all equally likely to occur (thus each has probability of -36 of occurring). A. What is the probability that the sum of the two dices is less than or equal to 11?
6. A pair of dice are rolled once (so will have two numbers show up when we roll the pair). The sample space is S= {(1, 1),(1, 2),(1, 3), ..,(6, 5), (6, 6)}. There are 36 elements in the sample %3D ..... space, and they are all equally likely to occur (thus each has probability of -36 of occurring). A. What is the probability that the sum of the two dices is less than or equal to 11?
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
show work
![This is not to be turned in, but you should do it. Run the following R code that will simulate the
situation in 6a by rolling a pair of dice 10,000 times. Just copy and paste it into the R console,
and press the enter key.
srolls = 10000
stor= c()
for (i in 1:rolls){
dice1 = sample(6,1)
dice2 = sample(6,1)
sum = dice1+dice2
stor[i] = ifelse(sum <= 11, 1, 0)
%3D
}
prob = sum(stor)/rolls
prob
Is this simulation value close to what you derived in question 6 part
а?](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Ff2db349d-44e2-4dc0-ad50-be44fa6802da%2F14bdd39b-da59-44d2-921d-95a7f08c7d0c%2Fc6twnqd_processed.png&w=3840&q=75)
Transcribed Image Text:This is not to be turned in, but you should do it. Run the following R code that will simulate the
situation in 6a by rolling a pair of dice 10,000 times. Just copy and paste it into the R console,
and press the enter key.
srolls = 10000
stor= c()
for (i in 1:rolls){
dice1 = sample(6,1)
dice2 = sample(6,1)
sum = dice1+dice2
stor[i] = ifelse(sum <= 11, 1, 0)
%3D
}
prob = sum(stor)/rolls
prob
Is this simulation value close to what you derived in question 6 part
а?

Transcribed Image Text:6. A pair of dice are rolled once (so will have two numbers show up when we roll the pair). The
sample space is S= {(1, 1),(1, 2),(1, 3), ..,(6, 5),(6, 6)}. There are 36 elements in the sample
.....
space, and they are all equally likely to occur (thus each has probability of
36
1.
of occurring).
A. What is the probability that the sum of the two dices is less than or equal to 11?
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps

Recommended textbooks for you

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning

Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning

Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON

The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman

Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman