July 30th, 2015, 10:36 pm
You need to partition the Cumulative Distribution of the Zipf Mandelbrot function into 10,000 equidistant regions. Then use a good quality random number generator in (0,1) to sample each region. Its called stratified sampling/latin hypercube sampling.I recommmend that you turn off your television and do not attempt to operate complex machinery (e.g. Airbus/747/777)whilst you attempt this piece of code.