Tuesday
May 21, 2013

Homework Help: Python programming

Posted by Anonymous on Sunday, January 13, 2013 at 2:51am.

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
"""

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

Happy 4th - Sorry about the off topic message. Just wanted to wish everyone a ...
Math - There are twice as many girls as boys in the 4th grade classes at Joe'...
9th grade math - x to the 2nd power if x = 3/4 how do you find 3/4th to the 2nd ...
Math help - Which number is equal to 7(3.5 x 10to the 4th) written in scientific...
4th grade - 4th grader asks how to solve 8100/?=90
Science 4th grade - Why is it important for 4th graders to learn about animals ...
math - A Caribbean cruise is offered if the average quarterly sales for just the...
4th grade math?? help!! - 2 to the 2 power??? i need help !!!! 2^2= 2*2= 4 ...
PHYSICS - A person who weigh 500N climbs a flight of straight from the ground to...
math - a running back rushed for 129 yards through 3 quarters.in the 4th quarter...

For Further Reading

Search
Members
Community