The Open Source Physics website will be unavailable Friday evening through Saturday afternoon as electrical work occurs in the American Center of Physics server room. Down time will begin at 6PM Eastern Time on Friday. Service is expected to resume by 6PM on Saturday, July 30.

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

STP Random Walk 2D SAW Program Documents

This material has 3 associated documents. Select a document title to view a document's information.

Main Document

STP Random Walk 2D SAW Program 

written by Harvey Gould, Jan Tobochnik, Wolfgang Christian, and Anne Cox

The RandomWalkSAW program simulates a self-avoiding random walk in two dimensions. The walker has an equal probability of going in any direction, but cannot return to a site that has already been visited. The default number of initial walkers is 100 and the total number of steps N = 1024.

RandomWalkSAW 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 RandomWalkSAW.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.

Last Modified October 9, 2008

Supplemental Documents (2)

STP Random Walk 2D SAW Documentation 

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

Published October 9, 2008
Last Modified October 9, 2008

STP Random Walk 2D SAW Distribution 

The materials distributed in this zip file are in support of the STP Random Walk 2D SAW program.   This distribution contains the STP Random Walk 2D SAW program, documentation, and exercises.

Published October 9, 2008
Last Modified October 9, 2008

The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics