Answer to Question #45296 in MatLAB | Mathematica | MathCAD | Maple for amjjjadhossen@yahoo.com

Question #45296
If there is a group of n people in a room,
what is the probability that two or more of them having same
birthday? It is possible to determine answer to this question by simulation.
(Hint:
You can generate
random dates
,
n times and determine the
fraction of people who born in a given day).
Write a f
unction
that determines the answer to this question by simulation. The
program
you wr
ite can take n as the
input
and prints out
the probability that two or more of n people will have the same birthday for
n=2,3,4.... 40
1
Expert's answer
2014-09-02T01:50:39-0400
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-45296.pdf

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS