Question: Problem 3 . Consider a robot ( with negligible mass and volume ) initially located at the point ( 0 , 0 ) in the

Problem 3. Consider a robot (with negligible mass and volume) initially located at the point (0,0) in the
plane, and suppose that it undergoes a sequence of steps of fixed length, but in a completely random direction.
Specifically, suppose that the new position after each step is one unit of distance from the previous position
and at an angle of orientation from the previous position that is uniformly distributed over (0,2).
(a) Compute the expected square of the distance from the origin after n steps.
(b) Simulate and plot 100 trajectories of the robot for n=20. You can use your favorite simulation tool (e.g.
Matlab, Python, Julia, Java, C+, etc).
(c) For each trajectory iin{1,2,dots,100} generated in item (b), let Di2 be the square of the final distance
from the origin after the n steps. Compute the sample mean of the variables Di2,i=1,2,dots,100.
The behavior described in this problem is called a random walk. For an application of random walks in
biological and navigation systems see this reference ?1.
 Problem 3. Consider a robot (with negligible mass and volume) initially

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!