Sorry about the typo.  HOW would you split the cows up?

-----Original Message-----
From: Tim Lewis [mailto:twle...@sc.rr.com] 
Sent: Wednesday, April 20, 2011 3:40 PM
To: beginners@perl.org
Subject: RE: sample distribution

Suppose that you want to sell the cows.  You have two buyers, and each one
is paying you $10,000 for 10 cows.  You want to divide the cows as fairly as
possible so that each buyer gets the same value.  Who would you split the
cows up?

Does that help any?



-----Original Message-----
From: ai nguyen [mailto:aichuab...@gmail.com] 
Sent: Wednesday, April 20, 2011 3:31 PM
To: beginners@perl.org
Subject: Re: sample distribution

On Apr 20, 5:28 am, shawnhco...@ncf.ca (Shawn H Corey) wrote:
> On 11-04-19 07:29 PM, ai nguyen wrote:
>
>
>
> > A population of 20 cows, each one has age and weight (known).
> > Device this population into 2 group, each group has 10 cows.
>
> > Questions:
> > How to pick a cow on each group so that a distribution of AGE and
> > WEIGHT on each group is similar. Show your strategy or/and implement
> > it in PERL.
>
> What code do you have so far?
>
> --
> Just my 0.00000002 million dollars worth,
>    Shawn
>
> Confusion is the first step of understanding.
>
> Programming is as much about organization and communication
> as it is about coding.
>
> The secret to great software:  Fail early & often.
>
> Eliminate software piracy:  use only FLOSS.


I have yet code it. I just try to understand the problem first. Does
anyone has any ideas?


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/



-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/



--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to