TCS
Company
Logical Reasoning
Seating Arrangement
there are 7 people in a room,what is the probability that 2 of them hav same birthday
Read Solution (Total 8)
-
- number of days in a year be 365.
therefore probability of first person is 365/365.
probability of second person having diierent birthday is 364/365.
probability of third person having different birthday is 363/365.
similarly...
probability of seventh person having different birthday is 359/365.
total probability o seven people having different different birthdays is.
=(365/365)*(364/365)*(363/365)*(362/365)*(361/365)*(360/365)*(359/365).
therefore two people having same bithday=1-all having different birthdays.
=1-(365*364*363*362*361*360*359)/365^7.(ans). - 11 years agoHelpfull: Yes(10) No(15)
- 365*365*364*363*362*361*360/(365)^7
- 11 years agoHelpfull: Yes(8) No(3)
- number of days in a year be 365.
therefore probability of first person is 365/365.
probability of second person having diierent birthday is 364/365.
=total probability is =(365*364)/(365*365).
therefore two people having same birthday=1-0.9972.
=0.0027(ans) - 11 years agoHelpfull: Yes(3) No(1)
- this a problem of the famous birthday paradox!first of all we need to find out the probability of 2 persons having different birthday.First,we have a single person whose probability of birthday not matching any others is 365/365=1(as there is no previous analyzed person).For the second person we have probability of his birthday not matching with others as 364/365,for the 3rd person 363/365 and so on.Now here we have 7 persons in a room who can make 7C2 i.e 21 pairs.Hence,the probability of 2 persons whose birthday matches will be 1-(364/365)^21.The paradox is that when we have 23 persons in a room the probability of there birthdays matching is 50% whereas if we have 57 persons then the probability is 99.99%.This can be shown mathematically!
- 11 years agoHelpfull: Yes(2) No(0)
- 7c2*(364^5/365^7)
- 11 years agoHelpfull: Yes(1) No(3)
- the probability q(n) that someone in a room of n other people has the same birthday as a particular person is given by
q(n) = 1 - ((365-1)/(365))^n - 11 years agoHelpfull: Yes(1) No(0)
- as there are 7 persons and there are 7 days in a week. thus
probability of 1st person to have b'day on any one day =1/7
probability of 2nd person to have b'day on same day =1/7
probability of 3rd person to have b'day on some other day =6/7
likewise for others 5/7,4/7,3/7,2/7
thus ans is (1/7)*(1/7)*(2/7)*(3/7)*(4/7)*(5/7)*(6/7)=720/823543 - 11 years agoHelpfull: Yes(0) No(0)
- ans= (365-5)/365 = 72/73...
- 11 years agoHelpfull: Yes(0) No(0)
TCS Other Question