This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: distribution. 1. Generate one random number using the Formula x = sin(2 π RAND()) r2 ln(RAND()) 2. Random numbers generated this way will distribute normally, with mean 0 and standard deviation 1. We want mean to be the expected number oF animals and the standard deviation to match that oF a binomial distribution. IF there are N animals: (a) Compute the mean: μ = 0 . 03 N . (b) Compute the std deviation: σ = r N (0 . 03)(0 . 97). (c) Rescale your random number: σx + μ . 3. This is the number oF new animals. Sorry, it won’t be an integer. But it’s a very good approximation and easy to repeat. Repeat it For, say, 100 days. 4. Graph the population Function. 1 5. If you did this with Excel, you can change all the random numbers by just recopying any one cell. Do this and watch the graph change. Bonus weekend exercise: Use this technique on the model with Δ N = 1 5000 (250 NN 2 ) 2...
View
Full Document
 Fall '08
 DougBullock
 Math, Normal Distribution, Binomial distribution, Cumulative distribution function, CDF, random number, 100 days

Click to edit the document details