Chance & simulation

Random Walk and Diffusion Lab

Up to 300 seeded walkers take 100 unit steps on a line (with a whole-percent bias and an optional absorbing wall) or on the square lattice: the mean squared displacement with a +/- 2 standard-error band against the exact theory (it grows like the number of steps, the RMS distance like its square root), a position histogram against the exact binomial law (the image formula with the wall), the absorbed share against the reflection principle and a fitted diffusion coefficient. One seeded integer stream by jump-ahead; five scored challenges are included. For learning probability and diffusion.

Last updated

Calculator overview

Inputs and outputs

This summary comes from the calculator's published input and output contract.

Inputs

Walkers in the statistics (required)
About this input

The walkers in the statistics: 100, 200 or 300. Raising it adds walkers and keeps the first ones unchanged.

Unit walkers Default 300 Range 100 to 300
Walk (required)
About this input

The walk: Line (1D), steps of +1 or -1 with the chance of a right step below, or Lattice (2D), one of four directions with equal chance. Chosen on the canvas.

Default Lattice (2D) Allowed Line (1D), Lattice (2D)
Wall position (required)
About this input

Where the absorbing wall stands, a whole number from 1 to 30 lattice units (dragged on the canvas). Kept when the wall is switched off.

Unit lattice units Default 10 Range 1 to 30
Wall (required)
About this input

No wall, or an absorbing wall on the line: a walker that reaches it stops there. Ignored on the lattice.

Default No wall Allowed No wall, Absorbing wall
Your RMS prediction (challenge 1) (required)
About this input

Challenge 1: your predicted RMS distance after 100 steps, from 0 to 100 lattice units; 0 means not yet predicted, and the walk stays hidden until you predict. Not used outside challenge 1.

Unit lattice units Default 0 Range 0 to 100
Histogram time (required)
About this input

The time of the position histogram, a multiple of 10 from 10 to 100 steps (the marker on the MSD chart).

Unit steps Default 100 Range 10 to 100
Challenge number (required)
About this input

Selects a challenge: 0 for none, 1 to 5 for a predefined challenge, which fixes the settings except the input it leaves to you.

Default 0 Range 0 to 5
Chance of a step to the right (required)
About this input

The chance of a step to the right on the line, a whole percent from 1 to 99 (50 = fair). Not used on the lattice.

Unit % Default 50 Range 1 to 99
Random seed (required)
About this input

The seed of the random stream, a whole number from 1 to 2147483646; the same seed always gives the same walk, on the line and on the lattice.

Default 2026 Range 1 to 2147483646

Outputs

Random stream check
About this output

Passed when the three traced walkers, stepped one draw at a time, land exactly where the jump-ahead walk puts them at every checkpoint; Failed otherwise. Blank when the inputs are not valid.

No unit declared
Seed used
About this output

The seed used. Blank when the inputs are not valid.

No unit declared
Theory diffusion coefficient
About this output

The theory diffusion coefficient: 2p(1 - p) on the line, 0.25 on the lattice. Blank when the inputs are not valid or while challenge 1 awaits a prediction.

No unit declared
Theory share absorbed by step 100
About this output

The reflection-principle share absorbed by step 100, P(S >= b) + P(S > b), for a fair walk. Blank when no wall is in effect, for a biased walk, when the inputs are not valid or while challenge 1 awaits a prediction.

No unit declared
RMS distance at the histogram time
About this output

The RMS distance at the histogram time, lattice units. Blank when the inputs are not valid or while challenge 1 awaits a prediction.

Unit lattice units
Positions at the histogram time: walkers in each bin against the exact expected count and a normal approximation
About this output

The 41 position bins at the histogram time (line: width 2, centred -40 to 40; lattice: the x-coordinate, width 1, -20 to 20; the end bins are open): the bin edges, the walker count, the exact expected count and a normal approximation (blank with the wall). The expected counts are blank for a biased walk with the wall. Count, Expected and Normal are blank while challenge 1 awaits a prediction.

No unit declared
Standard error of the MSD at step 100
About this output

The standard error of the MSD after 100 steps (the sample standard deviation of the squared displacements over the square root of the walker count). Blank when the inputs are not valid or while challenge 1 awaits a prediction.

No unit declared
RMS distance at step 100
About this output

The RMS distance after 100 steps, the square root of the MSD, lattice units. Blank when the inputs are not valid or while challenge 1 awaits a prediction.

Unit lattice units
Chance of a right step used
About this output

The chance of a right step used, percent. Blank on the lattice and when the inputs are not valid.

Unit %
Walkers used
About this output

The walkers in the statistics used. Blank when the inputs are not valid.

Unit walkers
The cloud: walkers 1 to 50 at every tenth step (on the line the y columns are blank and an absorbed walker sits at the wall)
About this output

The cloud: walkers 1 to 50 (rows) at steps 10, 20, ..., 100: x and y at each step (columns "x at 10", "y at 10", ...). On the line the y columns are blank and an absorbed walker sits at the wall. Blank while challenge 1 awaits a prediction.

No unit declared
Wall position used
About this output

The wall position used, lattice units. Blank when no wall is in effect and when the inputs are not valid.

Unit lattice units
Wall used
About this output

The wall used: No wall on the lattice. Blank when the inputs are not valid.

No unit declared
Three traced walkers, step by step (on the line the y columns are blank)
About this output

Three traced walkers, step 0 to 100 (rows): the step and each walker's x and y (on the line the y columns are blank and an absorbed walker stays at the wall). Steps 1 to 100 are blank while challenge 1 awaits a prediction.

No unit declared
Theory mean squared displacement at step 100
About this output

The exact theory MSD after 100 steps of the free walk: 4p(1 - p)t plus the squared drift on the line, t on the lattice. Blank when the inputs are not valid or while challenge 1 awaits a prediction.

No unit declared
Theory drift at step 100
About this output

The exact expected drift after 100 steps, 100 x (2p - 1) on the line, 0 on the lattice, lattice units. Blank when the inputs are not valid or while challenge 1 awaits a prediction.

Unit lattice units
Theory RMS distance at the histogram time
About this output

The theory RMS distance at the histogram time, lattice units. Blank when the inputs are not valid or while challenge 1 awaits a prediction.

Unit lattice units
Theory RMS distance at step 100
About this output

The square root of the theory MSD after 100 steps, lattice units. Blank when the inputs are not valid or while challenge 1 awaits a prediction.

Unit lattice units
Challenge result
About this output

No challenge selected, MET or NOT MET.

No unit declared
Challenge score
About this output

The challenge score: 100 when met, else 0.

No unit declared
Fitted diffusion coefficient
About this output

The diffusion coefficient fitted by least squares through the origin to the centred free-walk variance at steps 10 to 100 (variance = 2 x dimension x D x t). Blank when the inputs are not valid or while challenge 1 awaits a prediction.

No unit declared
Walk used
About this output

The walk used (a challenge sets its own). Blank when the inputs are not valid.

No unit declared
Challenge: the value scored
About this output

The value the selected challenge scores: the measured RMS distance after 100 steps (1), the theory drift after 100 steps (2), the measured ratio RMS(t)/RMS(20) (3), the reflection-principle share absorbed by step 100 (4) or the percent deviation of the fitted diffusion coefficient (5); blank with none, when not valid or while challenge 1 awaits a prediction.

No unit declared
Share absorbed by step 100
About this output

The share of the walkers absorbed by the wall by step 100. Blank when no wall is in effect, when the inputs are not valid or while challenge 1 awaits a prediction.

No unit declared
Share of walkers absorbed by the wall by every tenth step, against the reflection principle
About this output

At steps 0, 10, ..., 100: the share of walkers absorbed by the wall and the reflection-principle theory (fair walk only). The share and theory columns are blank with no wall in effect.

No unit declared
Challenge goal
About this output

The goal of the selected challenge (blank with none).

No unit declared
Challenge feedback
About this output

Feedback on the selected challenge: the prediction prompt, the met text or the not-met hint (blank with none).

No unit declared
Mean squared displacement at step 100
About this output

The mean squared displacement of the walkers in the statistics after 100 steps (the shown walk, absorbed walkers at the wall). Blank when the inputs are not valid or while challenge 1 awaits a prediction.

No unit declared
Formula module versions
About this output

The formula modules the model is built from, with their versions.

No unit declared
Measured against theory MSD
About this output

The relative difference of the measured MSD from the theory after 100 steps. Blank when the inputs are not valid or while challenge 1 awaits a prediction.

No unit declared
Mean squared displacement over all walkers at every tenth step, with its +/- 2 standard-error band and the exact theory
About this output

At steps 0, 10, ..., 100: the measured MSD, the exact theory MSD, the band of +/- 2 standard errors, the mean x, the RMS distance, the theory RMS distance and the free-walk MSD. Rows 10 to 100 are blank while challenge 1 awaits a prediction.

No unit declared
Model version
About this output

The model version.

No unit declared
Histogram time used
About this output

The histogram time used, steps. Blank when the inputs are not valid.

Unit steps
Free-walk MSD at step 100
About this output

The MSD after 100 steps of the free walk (the wall ignored); equal to the MSD with no wall in effect. Blank when the inputs are not valid or while challenge 1 awaits a prediction.

No unit declared
Model Status
About this output

NOT VALID with the reason when an input cannot be used; CHECK when every walker reached the wall by the histogram time, or when the walk with the wall is biased (the absorbed-share theory is then not shown); otherwise OK.

No unit declared
Mean position at step 100
About this output

The mean position (x) after 100 steps, lattice units. Blank when the inputs are not valid or while challenge 1 awaits a prediction.

Unit lattice units
This page is provided by LogicCommons for informational purposes only. Results are analysis outputs computed from the inputs you supply and are not professional advice. Verify all inputs and results independently.

LogicCommons is in beta. If a result, label, or reference looks wrong, tell us here; we read every message.

Methodology

Purpose and model boundary

This lab models random walks. Up to 300 seeded walkers start at the origin and take 100 unit steps, either on a line (a step of +1 or -1, with a whole-percent chance of stepping right, and an optional absorbing wall) or on the square lattice (one of four directions with equal chance). The model returns the mean squared displacement (MSD) every 10 steps with a band of 2 standard errors against the exact theory, the root mean square (RMS) distance, the mean position, a position histogram against the exact binomial law (the image formula with a wall) and a normal approximation, the share absorbed by the wall against the reflection principle, and a fitted diffusion coefficient. Five scored challenges use the same model.

It is a lab for learning probability and diffusion: why the spread of a random walk grows like the square root of the number of steps while the MSD grows like the number of steps, how a bias adds a drift on top of the spreading, how sampling noise shrinks with more walkers, and how often a walker reaches a wall. It is not a physical diffusion simulator. Steps are unit steps on a lattice, there are at most 300 walkers and 100 steps, and the wall exists only on the line.

The model is the calculation authority. The page sends the values you set to the model and draws only what it returns: the cloud of 50 walkers every 10 steps, the three traced paths step by step, the RMS and theory rings or marks, the wall, the MSD chart with its band, the histogram and the absorbed-share chart. The page computes no step, position, MSD or theory value itself.

Inputs and units

Positions and distances are in lattice units (one step is one unit), and times are in steps.

Input Meaning and unit
Walk Line (1D): steps of +1 or -1 with the chance of a right step below; or Lattice (2D, default): one of four directions with equal chance.
Random seed The start of the random stream, a whole number from 1 to 2,147,483,646 (default 2026). The same seed gives the same walk, on the line and on the lattice.
Walkers in the statistics W: 100, 200 or 300 (default 300). Raising it adds walkers and keeps the first ones unchanged.
Chance of a step to the right P, a whole percent from 1 to 99 (default 50, a fair walk). Line only.
Wall No wall (default) or Absorbing wall: a walker that reaches the wall stops there. Line only; ignored on the lattice.
Wall position b, where the wall stands, a whole number from 1 to 30 lattice units (default 10). Kept when the wall is off.
Histogram time The step of the position histogram, a multiple of 10 from 10 to 100 (default 100).
Challenge number 0 for none, or 1 to 5 to load a challenge.
Your RMS prediction (challenge 1) Your predicted RMS distance after 100 steps, from 0 to 100 lattice units. 0 means not yet predicted.

Where each input is set:

  • On the canvas only: the walk (its Line and Lattice chip), the wall (its chip, on the line only), the wall position (drag the wall line along the axis, in whole units), and the histogram time (drag the time marker on the MSD chart, in steps of 10).
  • In the input panel: the random seed, the walkers in the statistics, the chance of a right step (hidden on the lattice), the challenge number and your RMS prediction.

Governing relationships

The generator. The model implements Park and Miller's minimal standard generator (MINSTD) with the multiplier 48271. Starting from s₀ = the seed, each state is

sₖ = MOD(48271 · sₖ₋₁, 2³¹ − 1),

an exact whole number. Walker w (1 to 300) uses states 100(w − 1) + 1 to 100w, one a step, whatever the walk, W, P or the wall, so the same seed gives the same draws on the line and on the lattice. The model reaches each walker's states by jump-ahead, multiplying by 48271ᵏ reduced modulo 2³¹ − 1 with every product split into 16-bit halves so that each step stays exact. It also steps walkers 1 to 3 one state at a time and reports Passed when they land exactly where the jump-ahead walk puts them at every tenth step (the random stream check).

One step, decided exactly in whole numbers from a state s, with m = 2³¹ − 1:

  • Line: the step is +1 when 100 · s < P · m, else −1. So a right step has chance P/100 (exactly 1/2 at 50%).
  • Lattice: with q = 4s, the step is east when q < m, north when m < q < 2m, west when 2m < q < 3m, and south when q > 3m. Equality is impossible because m is prime.

The absorbing wall. Steps are ±1 from 0 and b ≥ 1, so a walker reaches the wall exactly when its running maximum reaches b. From then on it is shown at b. The free walk, the same walk with the wall ignored, is kept alongside.

Statistics every 10 steps, over the W walkers, with q the squared displacement of each walker's shown position (x² on the line, x² + y² on the lattice):

MSD = Σq / W, standard error SE = √(s_q² / W), band = MSD ± 2·SE, RMS = √MSD,

where s_q² is the sample variance of q (divisor W − 1). The mean position is Σx / W, and the free-walk MSD uses the free walk.

Theory. With p = P/100 and t the number of steps:

  • Line: expected drift ⟨x⟩ = t(2p − 1), variance 4p(1 − p)t, and theory MSD = 4p(1 − p)t + ⟨x⟩².
  • Lattice: theory MSD = ⟨r²⟩ = t exactly, because every step has length 1 and steps are uncorrelated; the drift is 0.
  • Theory RMS = √(theory MSD). The theory MSD is that of the free walk.

Diffusion coefficient. The variance of the free walk grows like 2·d·D·t, with d the dimension (1 or 2). The model fits D by least squares through the origin to the centred free-walk variance V at t = 10, 20, … , 100:

fitted D = Σ t·V(t) / (2d · Σ t²), Σ t² = 38,500.

Centring removes the drift. The theory value is 2p(1 − p) on the line (0.5 for a fair walk) and 0.25 on the lattice.

Position histogram. On the line, 41 bins of width 2 centred on −40 to 40; on the lattice, the x-coordinate in 41 bins of width 1 from −20 to 20. The end bins are open. The exact expected count of a bin is W times its probability:

  • Line, free walk: the position is 2K − t with K binomial(t, p), so P(x) = C(t, (t + x)/2) p^((t + x)/2) (1 − p)^((t − x)/2).
  • Lattice: x + y and x − y are independent fair walks of t steps, so 2x is a fair walk of 2t steps and P(x = k) = C(2t, t + k) / 4ᵗ.
  • Line with the wall, fair walk only (the image formula): a surviving walker is at x < b with probability P(Sₜ = x) − P(Sₜ = 2b − x), and the bin holding b gets the absorbed share.

The normal approximation integrates the normal law with the walk's mean and variance over each bin (on the lattice, mean 0 and variance t/2). It is not shown with the wall.

Reflection principle. For a fair walk on the line, the chance of having reached the wall at b by step t is

P(max of S₀ … Sₜ ≥ b) = P(Sₜ ≥ b) + P(Sₜ > b),

computed from binomial tails. It is the theory for the absorbed share, for a fair walk only.

Calculation sequence

The model works through the relationships above in this order:

  1. It checks the entered values in the order of the status list under Errors and warnings, items 1 to 7.
  2. It fixes the values used: your inputs, or in a challenge the challenge's own walk, seed, chance, wall and histogram time, except the input it leaves to you; every challenge uses 300 walkers.
  3. It finds each walker's first state by jump-ahead and draws its 100 steps in 10 segments of 10.
  4. It computes each walker's position and, on the line, its running maximum every 10 steps, and applies the wall.
  5. It steps walkers 1 to 3 one state at a time for the traced paths and the stream check.
  6. It computes the MSD, band, mean, RMS, free-walk MSD and the theory every 10 steps, the absorbed share and its theory, and the fitted diffusion coefficient.
  7. It bins the positions at the histogram time against the exact expected counts and the normal approximation.
  8. It sets the status and, in a challenge, scores the challenge.

Outputs and interpretation

  • Mean squared displacement, theory MSD and RMS distance at step 100: the primary results. The MSD wanders around the theory by sampling noise of relative size about 1 over the square root of W.
  • Measured against theory MSD (a percentage), the standard error of the MSD, the theory RMS, the mean position and the theory drift at step 100, and the RMS distance and theory RMS at the histogram time.
  • Share absorbed by step 100 and the theory share absorbed (a fair walk with the wall), as percentages.
  • Free-walk MSD at step 100, equal to the MSD with no wall.
  • Fitted and theory diffusion coefficient.
  • Random stream check: Passed or Failed.
  • Values used: the walk, seed, walkers, chance of a right step (blank on the lattice), wall, wall position (blank with no wall in effect) and histogram time, which in a challenge are the challenge's own; the model version and formula module versions.
  • Tables: the cloud (walkers 1 to 50 every 10 steps; on the line the y columns are blank and an absorbed walker sits at the wall), the three traced walkers step by step, the MSD curve every 10 steps (MSD, theory, band, mean x, RMS, theory RMS and free-walk MSD), the position histogram (bin edges, count, exact expected count and normal approximation) and the absorbed share every 10 steps against the reflection principle.

Reading the canvas: on the lattice, the cloud shows 50 walkers at the latest tenth step, three coloured trails grow step by step, and two rings show the measured RMS distance and the theory. On the line, walkers move in lanes, marks show the mean and the RMS distance either side, and absorbed walkers sit at the wall. The MSD chart rises in a straight line with its band; the histogram compares the counts with the exact law.

What to take from the lab: after t steps a walker is typically about √t from where it started, not t; four times the steps double the spread; a bias adds a drift that grows like t and soon outruns the spreading; and every measured value is one sample, so the band of 2 standard errors misses the theory in about one run in twenty.

Challenges

Choosing a challenge number from 1 to 5 loads that challenge. The challenge fixes its own walk, seed, chance, wall, wall position and histogram time, with 300 walkers, except the input it leaves to you. The result reads MET (score 100) or NOT MET (score 0), with the goal, the value the challenge is scored on and a short explanation or hint. Every test is exact.

  1. Predict the spread. Predict the RMS distance of the 2D walkers after 100 steps, within 10% of the theory value. Open: your RMS prediction. Met when it is from 9 to 11, within 10% of the theory RMS of 10. The value shown is the measured RMS.
  2. Drift. Choose the chance of a right step that makes the expected drift after 100 steps equal to +20. Open: the chance of a right step. Scored on the theory drift 100(2p − 1), met when it is exactly 20.
  3. Double the spread. From step 20, move the time marker to the step at which the RMS distance is twice as large. Open: the histogram time. Met when the time is 2² × 20 steps; the value shown is the measured ratio of the RMS at that time to the RMS at step 20.
  4. Half absorbed. Place the wall so the predicted share absorbed by step 100 is within 3 percentage points of 50%. Open: the wall position. Scored on the reflection-principle share.
  5. Unlucky sample. Find a seed whose fitted diffusion coefficient is more than 10% away from the theory value 0.25. Open: the seed. Scored on the percent deviation of the fitted coefficient from the theory.

Challenges 1 to 4 are scored on theory, not on the sampled walk, so the seed does not decide them; challenge 5 is about the sampling itself.

Challenge 1 holds back the answer until you predict: while your prediction is 0, every MSD, RMS, drift, absorbed-share and diffusion result and the value scored are blank, as are the cloud, the traced steps after step 0, the MSD and absorbed-share rows after step 0, and the histogram's counts, expected counts and normal approximation. The result reads NOT MET with the prompt, and the status reads OK. The values used, the stream check and the bin edges still show. Your prediction changes nothing outside challenge 1.

Validation and status logic

The status reads the first match in the list under Errors and warnings. Items 1 to 7 apply to the entered values, inside a challenge too; the two CHECK items apply to the values used, so a challenge's own settings decide them. A CHECK does not stop the calculation: every result is still shown. The wall is in effect only on the line; on the lattice the wall used reads No wall.

Assumptions and limitations

  • Unit steps on the integer line or the square lattice, independent steps, every walker starting at the origin; 100 steps; one absorbing wall on the positive side of the line only.
  • On the lattice the four directions are equal to within one state in about 2.1 billion: east and south each get one state fewer than north and west, a bias of about 2×10⁻⁹, far below the sampling noise.
  • The generator is a small linear congruential generator, deterministic and reproducible, fine for teaching and wrong for cryptography or serious simulation. Nearby small seeds can give related streams, and seed 2,147,483,646 mirrors seed 1.
  • Statistics use 100 to 300 walkers, so the measured MSD is noisy; the band of 2 standard errors misses the theory in about one run in twenty by chance, and no status reports it.
  • 50 walkers are drawn every 10 steps and 3 are traced at every step; no position is drawn between snapshots.
  • The histogram covers ±40 on the line and ±20 on the lattice with open end bins; a strongly biased walk piles into an end bin.
  • The absorbed-share theory and the expected counts with a wall hold for the fair walk only. The normal overlay is an approximation.

Restrictions and non-computing states

Every input is required and is checked on its entered value, even when the walk does not use it. A challenge number that is not a whole number from 0 to 5 counts as no challenge selected.

Under NOT VALID every result and every table is blank, the step columns included, except the model and module versions, the challenge result (No challenge selected, or NOT MET with a challenge selected), a score of 0, and the goal and hint of a selected challenge.

With no wall in effect, the absorbed shares, their theory and the wall position used are blank. With a biased walk and the wall, the absorbed-share theory and the histogram's expected counts are blank. With the wall, the normal approximation is blank.

In challenge 1, until you predict, the results named under Challenges are held back.

Errors and warnings

The status messages, first match wins:

  • NOT VALID: choose the walk from the list: Line (1D) or Lattice (2D)
  • NOT VALID: the seed must be a whole number from 1 to 2147483646
  • NOT VALID: the number of walkers must be 100, 200 or 300
  • NOT VALID: the chance of a step to the right must be a whole number from 1 to 99 percent
  • NOT VALID: choose No wall or Absorbing wall, and a wall position that is a whole number from 1 to 30
  • NOT VALID: the histogram time must be a multiple of 10 from 10 to 100 steps
  • NOT VALID: the challenge number must be a whole number from 0 to 5, and the RMS prediction a number from 0 to 100
  • CHECK: every walker reached the wall by step t, so the histogram is a single bar at the wall: t is the histogram time; the wall is in effect and every walker is absorbed by then.
  • CHECK: the walk is biased, so the absorbed-share theory (for a fair walk) is not shown; the measured share still is: the wall is in effect and the chance of a right step is not 50%.
  • OK: the walk is computed with nothing to flag.

References

This laboratory is an educational model of simple random walks on the line and on the square lattice. Its random numbers come from the Park-Miller minimal standard (MINSTD) generator with the multiplier 48271, reached by jump-ahead, so every walk is exact and repeatable from its seed. On the line a walker's position follows a binomial law with drift t(2p - 1) and variance 4p(1 - p)t; on the lattice the mean squared displacement equals the number of steps. The share of walkers that reach an absorbing wall follows the reflection principle, and the positions of the survivors follow the image formula. A diffusion coefficient is fitted to the growth of the variance, which spreads like 2dDt, as in Einstein's account of Brownian motion.

Sources and further reading

  • The simple random walk: the binomial distribution of its position, its mean and variance, and the distribution of its maximum by the reflection principle: K. Siegrist, Random: Probability, Mathematical Statistics, Stochastic Processes, chapter 10, Bernoulli Trials, section 6, The Simple Random Walk. Random (University of Alabama in Huntsville)
  • Random walks on the line and in the plane, and returns to the origin: C. M. Grinstead and J. L. Snell, Introductory Probability, section 12.1, Random Walks in Euclidean Space. LibreTexts
  • The growth of the mean squared displacement in proportion to time, and the diffusion coefficient: A. Einstein, "Über die von der molekularkinetischen Theorie der Wärme geforderte Bewegung von in ruhenden Flüssigkeiten suspendierten Teilchen", Annalen der Physik 322(8), 1905, pages 549-560. doi:10.1002/andp.19053220806
  • The minimal standard generator: S. K. Park and K. W. Miller, "Random number generators: good ones are hard to find", Communications of the ACM 31(10), 1988, pages 1192-1201. doi:10.1145/63039.63042

No table or text from any of these publications is reproduced, and none of their authors or publishers has reviewed or endorses this laboratory.

This laboratory is for learning. Its results hold only within its stated ranges; unit steps on a lattice are a simplified picture of diffusion, and one seeded sample of at most 300 walkers differs from the theory by chance.

Links were current at build time. If one moves, search the document's title rather than reporting a broken link as a defect.

Results are informational and not professional advice. See our Terms of Use. Powered by SpreadsheetWeb · About · Privacy · Terms