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
Least common factor of 12 20 and 24
Ymorist [56]

Answer:

2 is the LCF :)

Step-by-step explanation:

All are divisible by 2. 2 is the lowest number than even numbers can be divided by.

5 0
3 years ago
The graph of y=2x^2-4x+2 has a y-intercept of (0,1).<br> A. True<br> B. False
astra-53 [7]
False. Set x = 0 and find y.

y = 2(0)^2 - 4(0) + 2
y = 0 - 0 + 2
y = 2

The y-intercept is (0, 2), not (0, 1).
8 0
4 years ago
Jan began with 5/6 pound of modeling clay she used 1/5 of the clay to make decorative magnets
lawyer [7]
I'm not really sure what the question you're asking is, but if you want to know how much would be left, the answer is 19/30 pounds of clay.
7 0
4 years ago
Read 2 more answers
22,403 Check:<br>- 8,675<br><br>how i do this​
vodomira [7]

Answer:

Hello!! :) The answer to your question is 13,728

Steps will be below.

Step-by-step explanation:

So we will subtract 22,403 and 8,675.

When we do that we will get 13,728

To check your answer we have to do the opposite of subtracting which will be adding.

This is how we check our work: the answer we got was 13,728...we have to take that answer and add it to 8,675 which will give us 22,403

(Both of the numbers are from the question)

At the bottom I attached a picture of how I did the subtracting and how I checked my work.

Sorry for my handwriting......if you can’t understand my handwriting, I attached another picture which is more clearer.

ANSWER TO YOUR QUESTION: 13,728

Brainliest would be appreciated! Thank you :3

Hope this helps! :)

4 0
3 years ago
Read 2 more answers
X+7=6x-3 brainliest for best answer
sergejj [24]

Answer:

x =2

Step-by-step explanation:

x + 7 = 6x - 3

7 + 3 = 6x - x

10 = 5x

x = 10 ÷ 5

x = 2

4 0
3 years ago
Other questions:
  • A high school basketball court is 25.6 meters long and 15.2 meters wide and has a free throw box 5.8 meters long and 3.7 meters
    11·2 answers
  • Write a proportion using the ratio WV/WX. Pls help ASAP!!
    14·2 answers
  • A 3 kg block rests on a rough horizontal table. A rope is attacked to the block and is pulled with a force of 11N to the left. A
    11·2 answers
  • What is 55*21.Wmekksskkekekekekekekkekekekekekekekkdkdkddkkdkekekekdkdkdkdkdkekekekdkdkekkeekkekekekkkekekeekkekek.Sorry it was
    11·1 answer
  • A school supply kit costs x dollars. A sale offers a 20% discount on the kit.
    9·2 answers
  • Find the exact angular velocity in radians per hour wind W= 4.1 rpm
    14·1 answer
  • What is the slope of this graph?
    14·1 answer
  • Which statement is not true?
    5·1 answer
  • Amanda saves $15 per week for her summer vacation. Write an equation that she can use to.Find S, her savings after W weeks
    15·1 answer
  • Can someone PLEASE Tell Me to answer to this
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!