Takes two integer command-line arguments r and trials. In each of trials independent experiments, the program simulates a random walk until the random walker is at Manhattan distance r from the starting point. Prints the average number of steps.
andysanr/RandomWalkers
Takes two integer command-line arguments r and trials. In each of trials independent experiments, the program simulates a random walk until the random walker is at Manhattan distance r from the starting point. Prints the average number of steps.
Java