Today I was trying a website which generated rude comments everytime it was refreshed. Some of the rude comments were:
"Ya silly ninny!"
"Ya mouth breather!"
"Ya COBOL expert!"
Looking closely, I realized that the website chose a random comment whenever it was refreshed. It chose the comment randomly from a set of 100 rude comments.
After a while, I started seeing comments I had seen before, and the website became boring for me.
Can you tell me the probability that I have already seen the comment that I see on my 10th refresh?
"Ya silly ninny!"
"Ya mouth breather!"
"Ya COBOL expert!"
Looking closely, I realized that the website chose a random comment whenever it was refreshed. It chose the comment randomly from a set of 100 rude comments.
After a while, I started seeing comments I had seen before, and the website became boring for me.
Can you tell me the probability that I have already seen the comment that I see on my 10th refresh?
This comment has been removed by the author.
ReplyDeleteIGNORE PREVIOUS COMMENT !!
ReplyDeleteNow the answer is ::
{ 100C9 / 100C9 } *{ 9C1/91C1 } + { 100C8/ 100C9 } * { 8C1/92C1 }+ {100C7/100C9 }* {7C1/93C1 }+......+ { 100C1 / 100C9 } *{ 1C1/99C1 }
IGNORE PREVIOUS COMMENT !!
ReplyDeleteNow the answer is ::
{ 100C9 / 100C9 } *{ 9C1/91C1 } + { 100C8/ 100C9 } * { 8C1/92C1 }+ {100C7/100C9 }* {7C1/93C1 }+......+ { 100C1 / 100C9 } *{ 1C1/99C1 }
No correct answer yet? I think its pretty simple.
ReplyDeleteHere's a hint:
ReplyDeleteLets consider the 10th comment, and assume that its the kth comment, k can be anything b/w 1 and 100. The probability of this happening is 1/100.
What is the probability that this is a new comment?
if in the list ,at the 10th place a song is repeated first time,then the answer is 100c9*9!*9c1.
ReplyDeletebut if the songs can repeat themself before 10th place
well in that case mujhse nahin hua :P
i tried it but many cases were getting formed (like if songs are repeated twice or songs are repeated thrice in that case too if same song repeated it self or different songs repeated themself so acchi khasi series ban rahi thi so i left it.
Lets consider 3 songs {A,B,C} and the the 3rd turn.
ReplyDeleteTotal possibilities: 27
Favorable cases:
1)3rd song is 'A' {BBA, BCA, CBA, CCA}
2)3rd song is 'B' {AAB, ACB, CAB, CCB}
3)3rd song is 'C' {AAC, ABC, BAC, BBC}
Is there something that I'm doing wrong? I don't think so.
ignore the prev. comment i was solving a easy question stupidly the answer is
ReplyDelete1 - 100c10*10!/100^10