home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / sci / math / symbolic / 2292 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  1.1 KB

  1. Path: sparky!uunet!dove!rosentha
  2. From: rosentha@bldrdoc.gov (Peter Rosenthal 303-497-5844)
  3. Newsgroups: sci.math.symbolic
  4. Subject: random functions
  5. Message-ID: <5253@dove.nist.gov>
  6. Date: 31 Aug 92 20:23:23 GMT
  7. Sender: news@dove.nist.gov
  8. Organization: National Institute of Standards and Technology
  9. Lines: 33
  10.  
  11. I would like to be able to generate random numbers that obey some
  12. arbitrary probability distribution function.  Is there some
  13. simple way to do this in mathematica?
  14. For example, I would like a function that looks like this:
  15.  
  16. rand[pde_]
  17.  
  18. which might be called to generate Gaussian random variables
  19. in this way:
  20.  
  21. rand[gaussian[mean,sigma]]
  22.  
  23. where gaussian[mean,sigma] specifies the Gaussian probability
  24. distribution with a given mean and standard deviation.
  25.  
  26. I would like to use this function to solve various brownian
  27. motion problems such as a physical pendulum coupled to a dissipative
  28. bath.  If I had a way of generating the noise efficiently then I
  29. could use the numerical differential equation solver built into
  30. mathematica.
  31.  
  32. Thanks in advance.
  33.  
  34. Peter Rosenthal
  35.  
  36.  
  37. Rosenthal@cmg.eeel.nist.gov
  38.  
  39.          
  40.           
  41. -- 
  42. Peter Rosenthal       Email rosenthal@cmg.eeel.nist.gov
  43.  
  44.