Constrained Random Walk

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

This Demonstration simulates a random walk of a particle constrained within a square. An impermeable wall divides the square into two equal parts and has a central opening that lets the particle move between the two halves.

[more]

The particle starts at the red locator and ends at the green circle; you can drag the red locator.

Each successive step of the particle is a vector with standard normal components. This results in the angle following a uniform distribution and the norm following a Rayleigh distribution.

[less]

Contributed by: Erik Mahieu (July 2013)
Open content licensed under CC BY-NC-SA


Snapshots


Details

detailSectionParagraph


Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.
Send