home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math.symbolic
- Path: sparky!uunet!gatech!concert!fletcher!forest
- From: forest@cs.unca.edu (Forest Davenport)
- Subject: Re: random functions
- Message-ID: <1992Aug31.213129.14111@cs.unca.edu>
- Sender: news@cs.unca.edu (Usenet News Adm)
- Organization: University of North Carolina at Asheville
- References: <5253@dove.nist.gov>
- Date: Mon, 31 Aug 1992 21:31:29 GMT
- Lines: 22
-
- Mathematica 2.0 for DEC RISC
- Copyright 1988-91 Wolfram Research, Inc.
- -- X11 windows graphics initialized --
-
- In[1]:= <<Statistics`ContinuousDistributions`
-
- In[2]:= ndist = NormalDistribution[mu,sigma]
-
- Out[2]= NormalDistribution[mu, sigma]
-
- In[3]:= mu = 5.;
-
- In[4]:= sigma = 1.;
-
- In[5]:= rannor = Table[Random[ndist],{5}]
-
- Out[5]= {4.62584, 6.841, 4.7538, 3.76216, 4.59975}
-
-
- Five random numbers distributed normally with
- a mean of 5.0 and a sigma of 1.0 .
-
-