Group 12
B06902029 裴梧鈞
B06902093 王彥仁
B06902097 楊皓丞
On the number line, we set the ball on the origin x = 0, during each time interval dt, the ball can move to the adjacent two position, which are x-1, x+1, with the equal probability.
For simplicity, we set dt = 1, T_max = 500
As we test the program many times, we find that the average distance from origin to time will be like a square root graph.
We test 1000 times to get the average.
We find the coefficient of sqrt( t ) is 0.8070 by observation. After wikiing, we find the coefficient is
The model of random walk is useful to predict random behavior. The 1D model of random walk gives us an insight and a comparison as we head on to 2D and 3D.
Nice! It looks like a square root function and the coefficient is roughly 0.79, which corresponds to the actual solution
Wow! In particle collision, the distance from origin respect to time is also a square root function!
After running 3D random walk many times, we plot the average graph - the distance from origin of time. We can see that it looks like a square root function easily! It corresponds to the actual solution
Where t is the time, and d is the dimension.
After conquering tremendous difficulties, we finally acquired a nice graph. It is still a square root function! The coefficient is about 1.65
This is the 1D formula of the Fick's Law where n represents the concentration. The term is called the diffusion length.
It showed the same square root term as seen in random walk.
When the density of particles is high enough, the collision of the particles seemed that it's random. In fact, through our project, we confirmed that the movements of random walk and particle collision are actually almost identical. Therefore, the model of random walk can be used to explain particle collisions in every dimension.
And the important square root identity holds throughout our experiments.
1. Brownian Motion (Wikipedia)
2. Kinetic Theory of Gases (Wikipedia)
3. Random Walk (Wikipedia)
4. Expected Value of Random Walk (StackExchange)
5. Fick's laws of diffusion (Wikipedia)