Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Random Walk in 1D and 2D

Rating
-
Sold
-
Pages
4
Uploaded on
25-02-2024
Written in
2018/2019

The purpose of this project is to simulate an object or person’s random walk algorithm for one dimension and two dimensions. We will find the statistics of the walk and its probability distribution.

Institution
Course

Content preview

Random Walk in 1D and 2D
Guillem Cucurull
20 March 2022


1 Purpose
The purpose of this project is to simulate an object or person’s random walk
algorithm for one dimension and two dimensions. We will find the statistics of
the walk and its probability distribution.


2 Random walk
The simple random walk is the trajectory of a particle or person along a line
when each step is taken at random. An illustration of this could be a coin toss
and its equal chance of getting heads or tails. Consider this case: a man who is
lost in thereabouts takes a guess in taking the next step or which direction to
take. The probability of that man to be one step closer to the end goal is 50%
if there were two options: left and right. This constitutes the first dimension
ground. This probability is represented by Equation (1) and (2):
Nlef t 1
Plef t = lim = (1)
N →∞ N 2
Nright 1
Pright = lim = (2)
N →∞ N 2
Now if a step is labelled by an index i and happens Ni times in N trials,
then the probability is represented by Equation (3).

Ni
Pi = lim (3)
N →∞ N
where the sum of probabilities in N steps is
N
X
=1 (4)
i=1

Given the position xn at time N

xN +1 = xN + rN (5)


1

Written for

Institution
Course

Document information

Uploaded on
February 25, 2024
Number of pages
4
Written in
2018/2019
Type
Class notes
Professor(s)
Lawrence
Contains
All classes

Subjects

$13.33
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
guillemcucurull

Get to know the seller

Seller avatar
guillemcucurull University of Zurich and Boston University
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
6
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions