We can generate random numbers in an interval [a,b] easily if we want to make it uniformely:
A=rand()*(b-a) + a,
where rand() is a function which can generate a un