Re: Expected value



In article <3680465.1136872624522.JavaMail.jakarta@xxxxxxxxxxxxxxxxxxxxxx>,
PARASHAR <parashar.dave@xxxxxxxxxxxxxxx> wrote:
>A string of unit length is cut into n random strings.
>
>(1)What is the expected value of the shortest string
>(2)What is the expected value of the longest string

Assuming you're selecting n-1 cut-points independently
with uniform distribution in the interval [0,1], see the
thread "expected sizes of gaps" from March 1998,
<http://groups.google.ca/group/sci.math/browse_thread/thread/693b7dede0d7f3af/a63d19f5c7c07860>

Robert Israel israel@xxxxxxxxxxx
Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia Vancouver, BC, Canada
.



Relevant Pages

  • Demo: OO Cobol
    ... It inserts 50,000 random strings into a structure then does ... * Random string inserted into collections ... procedure division. ... perform Timer-on ...
    (comp.lang.cobol)
  • RE: Synchronize changes between a workbook and a "master file".
    ... Also see a sample of creating unique Id’s after the random strings. ... Random String Creation: ... Open a new workbook. ... Dim intMinLgth As Integer ...
    (microsoft.public.excel)
  • Re: FAQ: How can I generate good strong passwords?
    ... and take a string of 20 or more characters from the second line to use ... upper/lower case, numbers, special characters, ect. ... generating random strings, is it storing them -- it said it didn't and as ... had to put your finger exactly on the scanner as when your key was generated. ...
    (alt.internet.wireless)
  • Generating random strings
    ... I am generating 12 random strings and my code works fine when I step ... ArrayList arrEmailAddresses = new ArrayList; ... //create 12 random email addresses for domain ... foreach (string address in arrEmailAddresses) ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: strcspn(3) complexity improvement
    ... >The real question I have is, how long does the string need to be before ... >this is a win and how much does it hurt for typical string lengths? ... >I've written code with strcspn that needed to perform well, ... deciding whether pairs of random strings are realistic. ...
    (freebsd-current)