Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Pyathon Coding. create this program and explain each function. Your task, is to write a program to calculate the probability that at least two

Using Pyathon Coding. create this program and explain each function.
Your task, is to write a program to calculate the probability that at least two
people DO share a birthday in the class right now. If your teacher has not already,
please remind them to write the number of people in the room right now.
In addition to submitting your code,
please also return this sheet with your answers written below.
In this room of ____
people, the probability of
at least two people sharing
the same birthday is: ____%
For a 50% probability, the minimum
number of people needed is: ____.
Player one:_______________________
n =123... n
#People; Probability
n: 1; Prob: 0.0%
n: 2; Prob: 0.27%
n: 3; Prob: 0.82%
n: 4; Prob: 1.64%
n: 5; Prob: 2.71%
n: 6; Prob: 4.05%
n: 7; Prob: 5.62%
n: 8; Prob: 7.43%
n: 9; Prob: 9.46%
n: 10; Prob: 11.69%
n: 11; Prob: 14.11%
n: 12; Prob: 16.7%
n: 13; Prob: 19.44%
n: 14; Prob: 22.31%
n: 15; Prob: 25.29%
n: 16; Prob: 28.36%
n: 17; Prob: 31.5%
n: 18; Prob: 34.69%
n: 19; Prob: 37.91%
n: 20; Prob: 41.14%
n: 21; Prob: 44.37%
n: 22; Prob: 47.57%
n: 23; Prob: 50.73%
n: 24; Prob: 53.83%
n: 25; Prob: 56.87%
n: 26; Prob: 59.82%
n: 27; Prob: 62.69%
n: 28; Prob: 65.45%
n: 29; Prob: 68.1%
n: 30; Prob: 70.63%
n: 31; Prob: 73.05%
n: 32; Prob: 75.33%
n: 33; Prob: 77.5%
n: 34; Prob: 79.53%
n: 35; Prob: 81.44%
n: 36; Prob: 83.22%
n: 37; Prob: 84.87%
n: 38; Prob: 86.41%
n: 39; Prob: 87.82%
n: 40; Prob: 89.12%
n: 41; Prob: 90.32%
n: 42; Prob: 91.4%

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Statistical And Scientific Database Management International Working Conference Ssdbm Rome Italy June 21 23 1988 Proceedings Lncs 339

Authors: Maurizio Rafanelli ,John C. Klensin ,Per Svensson

1st Edition

354050575X, 978-3540505754

More Books

Students also viewed these Databases questions

Question

6. Explain the power of labels.

Answered: 1 week ago

Question

5. Give examples of variations in contextual rules.

Answered: 1 week ago

Question

f. What stereotypes were reinforced in the commercials?

Answered: 1 week ago