Random Walk - Maple Programming Help

Home : Support : Online Help : Math Apps : Probability and Statistics : Probability : MathApps/RandomWalk

Random Walk

Main Concept

A random walk is a sequence of equal length steps, each of which is in random direction. In this demonstration, random can mean:

 • Moving in any direction
 • In one of the Cartesian directions
 • In two dimensions; towards a vertex of a regular hexagon centered at the current location with base parallel to the x-axis.

The expected distance from the starting point after n (equal length) steps is $\sqrt{\mathbit{n}}$.

You can also choose to do a Random Space Walk, in which you are updating your velocity (by means of your thruster) rather than your position. Note that Random Space Walks are not well-advised!

Choose your options and click the Start/Stop button to watch the random walk!

 Randomize change in: Direction of step: Dimensions: Number of points to show:

 More MathApps