Question: This infant is practicing by walking back and forth on a tile floor. She is fairly unfocused, using a random walk pattern along a single

This infant is practicing by walking back and forth on a tile floor. She is fairly unfocused, using a random walk pattern along a single axis. At each timestep, she will step either to the tile to her right or to the one to her left. She does not favor one direction over the other; that is, she will move left or right with equal probability.

Construct and execute a model of this infant-floor system in Excel or Python. Represent her position on an integer number line, with her original position marked as 0 and move left and right between tiles represented as subtracting or adding 1 to this value:

... -5 -4 -3 -2 -1 0 1 2 3 4 5 ...

Record the position of the infant over 30 steps and plot the results. In the exercise just conducted...

What is the model?

What is the simuland?

What is the simulation?

Create a copy of your program and modify it to represent a new scenario. In this scenario, she is placed in the center of a room 7 tiles wide. There are walls on both sides of the room, constraining her position from -3 to +3:

-3 -2 -1 0 1 2 3

If she is next to the left wall, her next step will always be to the right; if she is next to the right wall, it will be to the left. (That is, she does not stand still or walk through walls.) Record and plot the results.

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!