# Python programming

posted by .

1,000 students took an online course. 1/4th of them were from Africa, 1/4th from Europe , 1/4th from South America, and 1/4th from Asia. At the end of the course, the instructor observed that of the top 100 grades, 30 belonged to students from a single geographical area. He argued that since the expected number of students from each area in the top 100 was 25, this was unlikely to have happened by pure chance. Write a function that uses simulation to compute and return an estimate of the probability of at least 30 of the top 100 grades coming from a single geographical area purely by chance.

def test(numTrials):
"""
Uses simulation to compute and return an estimate of
the probability of at least 30 of the top 100 grades
coming from a single geographical area purely by chance
"""

• Python programming -

i don't want the answer. just help me visualize the problem and how to go for the solution. i am in class 9th and i don't know anything about integrals, yet. coding is not the problem. i am able to do that

## Similar Questions

Why is it important for 4th graders to learn about animals that live in the ocean?
2. ### Happy 4th

Sorry about the off topic message. Just wanted to wish everyone a happy 4th of July (it's already the 4th where I am...in the afternoon, none the less). Hope it's a good one! Matt

x to the 2nd power if x = 3/4 how do you find 3/4th to the 2nd power?
5. ### Math

There are twice as many girls as boys in the 4th grade classes at Joe's school. There are a total of 81 4th graders. How many boys and girls are there in the 4th?
6. ### math

A Caribbean cruise is offered if the average quarterly sales for just the 3rd and 4th quarters is \$120,000, what is the 4th quarter?
7. ### Math help

Which number is equal to 7(3.5 x 10to the 4th) written in scientific notation?
8. ### Algerba 1

Write in Scientific Notation 1. (3X10to the tenth) (7X10to the -4th) 2. (5X10to the 4th)to the second Thanks so much!
9. ### math

I have been doing pascal triangle and do not know where this question comes from?
10. ### Math

Need to simplify (6b to the 2 power)to the 2nd power (6b to the 4th power)to the 4th power equals 24b to the 4th power Not sure if I did this right trying to understand how to simplify. Please help, please.

More Similar Questions