A Matlab function was written to simulate a random walk based on the Einstein-Wiener process to verify that the distribution of the final position of the walk is normally distributed with \(\text {mean}=\beta t\) and \(\text {variance}=2 D t\) (more details in the report).