[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Options, V.Links, random
From: |
Klaus Weide |
Subject: |
Re: lynx-dev Options, V.Links, random |
Date: |
Fri, 17 Dec 1999 04:38:23 -0600 (CST) |
On Thu, 16 Dec 1999, Doug Kaufman wrote:
> On Thu, 16 Dec 1999, Philip Webb wrote:
> > 991215 Klaus Weide calculated:
> > > Let's say there are 20 temp files existing & kept track of by Lynx
> > > at any one time, realistic with source_cache, UI pages, downloads.
> > > What are the chances that, among 20 filenames drawn out of 10000
> > > (with repetition), >= 2 are the same? I get: approximately 190/10000.
> >
> > not "approximately", exactly (grin): 1 + 2 + ... + 19 .
>
> I am not sure which algorithm you are using to approximate this. The
> exact probability is:
>
> 1 - (9999! / (9980! * 10E76))
For this I get
0.018832767068024059
(by just multiplying 0.9999 * 0.9998 * ... * 0.9981, then subtracting from
1. Your expression makes it look more complicated than it is.)
So we do have approximately the same result.
(But thanks to Doug we have a formula instead of just a gut feeling...)
Klaus
- Re: lynx-dev Options, V.Links, random (was: patch 6 - UI Pages), (continued)
- Re: lynx-dev Options, V.Links, random (was: patch 6 - UI Pages), T.E.Dickey, 1999/12/15
- Re: lynx-dev Options, V.Links, random (was: patch 6 - UI Pages), T.E.Dickey, 1999/12/15
- Re: lynx-dev Options, V.Links, random (was: patch 6 - UI Pages), T.E.Dickey, 1999/12/15
- Re: lynx-dev Options, V.Links, random (was: patch 6 - UI Pages), Klaus Weide, 1999/12/15
- Re: lynx-dev Options, V.Links, random, Philip Webb, 1999/12/16
- Re: lynx-dev Options, V.Links, random, Doug Kaufman, 1999/12/16
- Re: lynx-dev Options, V.Links, random, Doug Kaufman, 1999/12/16
- Re: lynx-dev Options, V.Links, random,
Klaus Weide <=
- Re: lynx-dev Options, V.Links, random, Doug Kaufman, 1999/12/17
- Re: lynx-dev Options, V.Links, random, Klaus Weide, 1999/12/18
Re: lynx-dev Options, V.Links, random (was: patch 6 - UI Pages), T.E.Dickey, 1999/12/16
Re: lynx-dev Options, V.Links, random (was: patch 6 - UI Pages), T.E.Dickey, 1999/12/16
Re: lynx-dev Options, V.Links, random (was: patch 6 - UI Pages), T.E.Dickey, 1999/12/16
Re: lynx-dev Options, V.Links, random (was: patch 6 - UI Pages), Henry Nelson, 1999/12/16
Re: lynx-dev Options, V.Links, random (was: patch 6 - UI Pages), T.E.Dickey, 1999/12/17