POV-Ray : Newsgroups : povray.off-topic : Problem of the day : Re: Problem of the day Server Time
6 Sep 2024 13:18:37 EDT (-0400)
  Re: Problem of the day  
From: scott
Date: 17 Dec 2008 09:52:31
Message: <4949122f$1@news.povray.org>
> If we select K balls, the probability of ball #1 appearing becomes 1/N + 
> 1/N + 1/N + 1/N + ... K times over, minus the probability of ball #1 
> appearing more than once.
>
> In other words, we have K/N - E, and I can't figure out how to compute E.

You can think of it the other way round, ie the probability of ball #1 
appearing after K tries is 1 minus the probability of ball #1 not occurring 
after K tries.  That is 1-((N-1)/N)^K.


Post a reply to this message

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