Precalculus II

Class Notes, 04/27/99


Using the computer program RNDWALK we investigate the median number of steps required to move distances of 10, 15, 20, 25 and 30 units from the original position.

The results are shown below.

We attempt to linearize the results using the transformations y -> log(y) and y -> `sqrt(y).

pc61.jpg

Graphing `sqrt(y) vs. x we obtain the line `sqrt(y) = .73 x, which we solve for y to get y = .53 x^2.

pc62.jpg

The text tells us that the distance should be

This is consistent with our data, where the length of a move was `sqrt(2) (1 step forward or backward, 1 step right or left--the step is thus the hypotenuse of a right triangle with legs of 1). 

An alternative interpretation of our data is that we made two moves for each step, so that the actual number of 1-unit moves in N steps would be 2 N.

Either interpretation is consistent with our model     dist = 1.4 `sqrt ( number of steps).

pc65.jpg

The data below gives the distances moved in each of four trials, for each of N = 200, 400, 600, ..., 1600 steps, each step consisting of two moves.

pc67.jpg

 

The Chaos Game starts with three points A, B and C, and a random starting point.

pc63.jpg

The choice of A, B and C is completely random at every step.  It often happens that the same point is chosen for two or more consecutive moves. 

It might seem that this process will just end up filling in the triangle defined by A, B and C.  However, the result is a very clear and distinct pattern.