|  | In this chapter we look further at random number generation 
        and some of the ways you will use random numbers in physics simulations 
        and analysis.  The sections include:  
       
        Random Numbers and Simulations - discusses 
          why the standard uniform or Gaussian random number generators are not 
          suitable to the types of distributions often needed in scientific simulations.
 
Generating Distributions - uses the 
          rejection technique to generate a custom probability distribution as 
          might be needed in an experiment simulation. 
 
Histogram Distribution - use a histogram 
          distribution to generate random numbers that follows that distribution.
 
Monte Carlo Integration - this technique 
          applies random sampling to estimate an integral.
 
Exercises |  |