Re: Random number generation
- To: mathgroup at smc.vnet.net
- Subject: [mg27896] Re: Random number generation
- From: "Allan Hayes" <hay at haystack.demon.co.uk>
- Date: Fri, 23 Mar 2001 04:31:15 -0500 (EST)
- References: <99chpl$8df@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Jose, rns=Table[Random[Integer,500],{300}]; If you want to see them in a table a simple way is ColumnForm[rns] You will find the HelpBrowser very helpful for these sorts of questions: for example select Random and then use menu>Help>Find Selected Function. -- Allan --------------------- Allan Hayes Mathematica Training and Consulting Leicester UK www.haystack.demon.co.uk hay at haystack.demon.co.uk Voice: +44 (0)116 271 4198 Fax: +44 (0)870 164 0565 "Jose Lasso" <jml at accessinter.net> wrote in message news:99chpl$8df at smc.vnet.net... > Hi MathGroup: > > I suppose this is really easy, but I have little experience with > Mathematica and I need your help. > > Question: How can I generate 300 random numbers (integers), betwenn 0 > and 500, and display the numbers in a table? Thx in advance. Best > regards. > > Jose M Lasso (Mathematica rookie) >