Create random number between low and high
low
high
static double rand(double low,double high ) { double rand = math.Random().nextDouble(); return low + rand * ( high - low ); }