Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You are doing a statistic research by collecting the sum of rolling 2 dices. To add a variation on the result set, one of the
You are doing a statistic research by collecting the sum of rolling dices. To add a
variation on the result set, one of the dice is with faces of and the other
one is normal face die has faces
Write a program that rolls two dice as described above, calculate the outcome, collect
the statistics and find out the probability of rolling each possible outcome.
Roll times and then print out the frequency number of times having each of
the outcome values and also print the corresponding graph.
Submit your solution in qdpy marks
The program should require no input. The output should look like the example below.
Note that due to randomness the exact frequencies will change. The bar chart should
be scaled appropriately for analysis.
Step 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