Re: serie of random number
- To: mathgroup at smc.vnet.net
- Subject: [mg21261] Re: [mg21202] serie of random number
- From: BobHanlon at aol.com
- Date: Mon, 20 Dec 1999 02:28:23 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
x = (y = Table[Random[Real, {0, 1}], {10}])/(Plus @@ y)
{0.07821331795569339, 0.14548316858210597,
0.09071562642905695, 0.17301007335002186,
0.11717865235373884, 0.09217996450546272,
0.042026501149567214, 0.006182891897813822,
0.181653714876191, 0.07335608890034818}
Plus @@ x == 1
True
Bob Hanlon
In a message dated 12/17/1999 2:54:43 AM, raphael.suire at univ-rennes1.fr
writes:
>i want to compute a serie of random number
>Table[random[Real,{0,1}],{n}]]
>
>which sum is always one
>
>How can i do ??
>