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
PLEASE HELP What is the volume of this rectangular prism?
aleksandrvk [35]

Step-by-step explanation:

25/4*14*3= 21*25/4= 262.5 ft^3

5 0
3 years ago
Find the surface area of a cylinder with a diameter of 8<br> yards and a height of 9 yards.
marysya [2.9K]

Answer:

a=326.76 yd^2

Step-by-step explanation:

a= 2pi(d/2)h+2pi(d/2)^2=2pi(8/2)9+2pi(8/2)^2= 326.72564yd^2

5 0
3 years ago
Roys checking account pays 1% interest monthly and has a $10 service fee. if roys balance last month was $2223, find the amount
____ [38]
Credit of $12.23 that is the answer
8 0
3 years ago
Read 2 more answers
Aaron buys postcards while he is on vacation.it costs $0.28 to send one postcard. Aaron wants to buy 14 postcards.how much will
Nana76 [90]
It costs $3.92 to send all 14 postcards. Or is this a trick question.
5 0
4 years ago
Are 165° and 1965° coterminal?​
MatroZZZ [7]

two angles are coterminal, namely land on the same spot on the circle.

let's check.

let's firstly divide 1965° by 360°, since 360° is a full circle, that way we know <u>how many full circles are</u> in 1965°.

1965 ÷ 360, gives us a quotient of 5 with some remainder.

5 * 360 = 1800, 5 full circles

if we subtract the full circles from 1965

1965 - 1800 = 165

low and behold, the remainder from that division is 165°  ✔

in other words, 1965°, goes around the circle 5 times and then lands 165° after all that, in the same spot as 165°.

5 0
3 years ago
Other questions:
  • FREE POINTS
    6·1 answer
  • A cylindrical bale of hay has a height of 5 feet and a diameter of 5 feet. What is its approximate volume to the nearest cubic f
    14·1 answer
  • -4x &lt; 28<br> how do i solve this?????
    7·1 answer
  • They also needed red fabric.Each yard of red fabric cost $2.if they buy 6 1/2 yards of red fabric how much will it cost?
    9·1 answer
  • Do 5, 2, 4, make a triangle
    14·1 answer
  • Write an equation in standard form for the line that has an undefined slope
    8·2 answers
  • Keeley buys songs from a music website. She buys 15 songs for $22.50. What is the price per song?
    13·1 answer
  • Someone help me please
    5·1 answer
  • If the Federal Reserve set the reserve rate to 4%, what is the resulting money multiplier
    5·1 answer
  • What is x in the diagram?
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!