POV-Ray : Newsgroups : povray.off-topic : Problem of the day : Re: Problem of the day Server Time
6 Sep 2024 13:16:45 EDT (-0400)
  Re: Problem of the day  
From: scott
Date: 17 Dec 2008 09:29:22
Message: <49490cc2$1@news.povray.org>
>>> Now, if we perform K trails, the probability of seeing all the balls is 
>>> (N! + (K-N)!) / N^N. (Assuming K >= N.)
>>
>> Can you explain how you got that formula?
>
> Intuitively, assuming N trials the formula is just N! / N^N, so if we add 
> (K-N) extra trails, you get the formula above.
>
> On reflection, I'm not sure that's actually correct...

What if K=5 and N=2? I think the answer should be a 30/32 chance of seeing 
both balls, but your formula gives 8/4 !


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.