aidoesscience
aidoesscience › Diffusion
Validating · validations

Diffusion simulation

Does a cloud of random walkers spread according to the diffusion law?

▶ Run the simulationSee the measured result

Measured by the lab
1.879394
Known value
1.875
Relative error
2.34e-3

How the lab tests it

Release particles from a point, track the mean-square displacement ⟨r²⟩(t), and recover the diffusion coefficient from its slope.

What it checks

⟨r²⟩ = 4Dt and the Einstein relation D = σ²/2Δt

This simulation has a catalogued, oracle-checked result: Einstein's ⟨r²⟩ = 4Dt recovered from raw random-walk tracks.