home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dove!rosentha
- From: rosentha@bldrdoc.gov (Peter Rosenthal 303-497-5844)
- Newsgroups: sci.math.symbolic
- Subject: random functions
- Message-ID: <5253@dove.nist.gov>
- Date: 31 Aug 92 20:23:23 GMT
- Sender: news@dove.nist.gov
- Organization: National Institute of Standards and Technology
- Lines: 33
-
- I would like to be able to generate random numbers that obey some
- arbitrary probability distribution function. Is there some
- simple way to do this in mathematica?
- For example, I would like a function that looks like this:
-
- rand[pde_]
-
- which might be called to generate Gaussian random variables
- in this way:
-
- rand[gaussian[mean,sigma]]
-
- where gaussian[mean,sigma] specifies the Gaussian probability
- distribution with a given mean and standard deviation.
-
- I would like to use this function to solve various brownian
- motion problems such as a physical pendulum coupled to a dissipative
- bath. If I had a way of generating the noise efficiently then I
- could use the numerical differential equation solver built into
- mathematica.
-
- Thanks in advance.
-
- Peter Rosenthal
-
-
- Rosenthal@cmg.eeel.nist.gov
-
-
-
- --
- Peter Rosenthal Email rosenthal@cmg.eeel.nist.gov
-
-