Main Document

The RandomWalk1D program simulates a random walk in one dimension for steps of unit length and equal time intervals. The default number of steps is N = 16 and the probability of going right or left at any step is the same (the probability p of going to the right for a single step is 0.5).

RandomWalk1D is part of a suite of Open Source Physics programs that model aspects of Statistical and Thermal Physics (STP). The program is distributed as a ready-to-run (compiled) Java archive. Double clicking the stp RandomWalk1D.jar file will run the program if Java is installed on your computer. Additional programs can be found by searching ComPADRE for Open Source Physics, STP, or Statistical and Thermal Physics.

Supplemental Documents (2)

A pdf document that briefly describes the STP Random Walk 1D program. It describes how to use the stp_RandomWalk1D.jar file and contains short tutorial exercises for use with the stp_RandomWalk1D.jar file.