1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Fittoniya [83]
4 years ago
8

Define a function roll_hundred_pair() that produces a histogram of the results of 100 rolls of two 6-sided dice

Mathematics
1 answer:
harkovskaia [24]4 years ago
5 0

Answer:

The code is attached. I used python to define the function and matplotlib library to plot the histogram.

Step-by-step explanation:

  1. I defined a function called roll_hundred_pair
  2. I imported matplotlib.pyplot as plt and random
  3. I defined a list called dice
  4. I created an empty list to collect dice results
  5. I simulated 100 dice roll using a <em>loop</em> and <em>random.sample</em>
  6. finally I plot the histogram using plt.hist method

You might be interested in
The number of students at Maria's school decreased by 98% of last year's number currently there are 1170 students how many stude
Vitek1552 [10]
X=number of students at Marita's high school last year
98%=.98
.98x=1170
x=1170/.98
x=1194
3 0
3 years ago
PLD HELP ME I WILL FAIL PLSx​
elena55 [62]

Answer:

19.4236 is your answer

Step-by-step explanation:

8 0
3 years ago
What 5 numbers that has a median equal to 7?
Elza [17]
Median is where if you put them in ascending order and cross them off, one from each side at a time, you get to the middle number.
56789 is your answer but so would any group of 5 numbers where two are bigger and two smaller than seven.
4 0
4 years ago
Make a proportional statement to solve for x <br><br> PLZ HELPLPLPLPLPL
lana66690 [7]
22/32 = 100/x
22x = 100(32)
22x = 3200
    x = 3200/22
    x = 145.45 ft
5 0
3 years ago
ASAP<br> -WILL MARK BRIANIST
Thepotemich [5.8K]

Answer:

C and D

Step-by-step explanation:

C and D are the answers because when you simplify D which is 95/100 × 6 you get 0.95×6 which is the same thing as c

8 0
3 years ago
Other questions:
  • Tashia ate 1/3 of a pizza, and Jay ate 3/8 of the same pizza. What fraction of the pizza was eaten?
    13·1 answer
  • What is the slope of the line that passes through the points (10,8) and (-15,18) ?
    10·1 answer
  • 20% tip on a 10.50 lunch
    11·2 answers
  • Can some one ☝️ plz help me
    13·1 answer
  • Henry tosses a coin, and it comes up "Heads" three times in a row. What is the probability that the next toss will also be a "He
    9·1 answer
  • (7p + 18p? - 14p - 5) + (p+ 3)
    15·2 answers
  • {12,16,5,2} the number of subsets
    10·1 answer
  • Answer soon :) for plato
    12·1 answer
  • Simplify (45)-(+14). Pls guys explain it to me
    14·2 answers
  • Todd is 3 years older than his brother Jack. If Jack is x years old and Todd is y years old, write a rule that relates their age
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!