home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / sci / math / symbolic / 2294 < prev    next >
Encoding:
Text File  |  1992-08-31  |  844 b   |  34 lines

  1. Newsgroups: sci.math.symbolic
  2. Path: sparky!uunet!gatech!concert!fletcher!forest
  3. From: forest@cs.unca.edu (Forest Davenport)
  4. Subject: Re: random functions
  5. Message-ID: <1992Aug31.213129.14111@cs.unca.edu>
  6. Sender: news@cs.unca.edu (Usenet News Adm)
  7. Organization: University of North Carolina at Asheville
  8. References: <5253@dove.nist.gov>
  9. Date: Mon, 31 Aug 1992 21:31:29 GMT
  10. Lines: 22
  11.  
  12. Mathematica 2.0 for DEC RISC
  13. Copyright 1988-91 Wolfram Research, Inc.
  14.  -- X11 windows graphics initialized --
  15.  
  16. In[1]:= <<Statistics`ContinuousDistributions`
  17.  
  18. In[2]:= ndist = NormalDistribution[mu,sigma]
  19.  
  20. Out[2]= NormalDistribution[mu, sigma]
  21.  
  22. In[3]:= mu = 5.;
  23.  
  24. In[4]:= sigma = 1.;
  25.  
  26. In[5]:= rannor = Table[Random[ndist],{5}]
  27.  
  28. Out[5]= {4.62584, 6.841, 4.7538, 3.76216, 4.59975}
  29.  
  30.  
  31.     Five random numbers distributed normally with
  32.     a mean of 5.0 and a sigma of 1.0 .
  33.  
  34.