> with(plots):

Warning, the name changecoords has been redefined

Execute the first and next line once.

> x:=rand(2):

Each time the next group is executed (by placing the cursor and hitting enter) you

will get a path-graph for a simple symmetric random walk of length 1000. You can change

the length of the walk in the obvious way.

> L:=[]:S:=0:for i from 1 to 1000 do S:=S+2*x()-1: L:=[op(L),S]: od:

> listplot(L);

[Maple Plot]

>