Bell shaped random number generation

From: Harish (harish_recian_at_yahoo.com)
Date: 09/26/04


Date: 26 Sep 2004 00:03:33 -0700

Hello,
I need to write a computer program in which I need to get random
numbers in a range, that follow an approximation of a bell curve. I
tell the program that the average is say 20 and also say that most of
values lie between 15 & 25.
The range of the values is between 0,100. I have been suggested that I
would need to look at beta distribution to generate such numbers but I
could not figure out how to do it.

I would be thankful to you if anyonce can provide any further input in
this regard

Thanks
Harish



Relevant Pages

  • Re: Bell shaped random number generation
    ... > I need to write a computer program in which I need to get random ... that follow an approximation of a bell curve. ... > that I would need to look at beta distribution to generate such ...
    (sci.stat.math)
  • Re: need help on this problem.
    ... Oliver Wong wrote: ... you had to simulate throwing the pen, but for this simulation you need Pi, but since you're trying to compute pi, presumably you don't know Pi yet! ... *Perhaps* it is possible to simulate the problem with a very rough approximation of Pi and to get a better approximation of Pi by this. ... in real life, and then write a computer program that kept track of how many line-crosses you got, and approximate Pi that way. ...
    (comp.lang.java.help)