Re: string length question
From: Anonymous (nospam_at_noISP.com)
Date: 09/27/04
- Next message: George Cox: "Re: About pii and integers"
- Previous message: Lee Rudolph: "Re: Fundamental Group"
- In reply to: NKProductionZ: "string length question"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 27 Sep 2004 19:19:57 GMT
NKProductionZ wrote:
> We have that string A can go into one of two forms
> either A --> BC and terminates or A --> ADA and D is terminal, but each of
> those A's can break up into either BC or ADA.
>
> what is the expected length of string A?
>
> the standard approach which i took fails, since i said let a be the expected
> length.
> in this case the answer would be the solution of a = .5*2 + .5(2a + 1) but this
> leads to 3/2 = 0.
Isn't what you want to know the expected length of the string which includes only B, C and
D (i e, at the termination of the "derivation"). In that case I think the expression is
more complicated than you gave, though I can't tell you exactly what it is.
sherNOwoodSPAM@computer.org (remove caps to get e-mail)
- Next message: George Cox: "Re: About pii and integers"
- Previous message: Lee Rudolph: "Re: Fundamental Group"
- In reply to: NKProductionZ: "string length question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|