Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Iterations don't produce random lists!' topicStudent Support Forum > General > Archives > "Iterations don't produce random lists!"

Next Comment >Help | Reply To Topic
Author Comment/Response
Dan
01/24/10 10:14am

I'm currently trying to simulate a random walk, counting the number of times that the walk = 0. I can't see where my functions are wrong cause it works the first time but then if I iterate it then it produces the same list but with the parameters at the end, e.g I run Walk[21] twice... first time I get {1,0,1,2,1...} which is what I want then run it again I get the same list but with {1,0,1,2,1...}[21] the list should change each time!!

Any help on this would be great!!!!

Attachment: Random Walk Sim.nb, URL: ,

Subject (listing for 'Iterations don't produce random lists!')
Author Date Posted
Iterations don't produce random lists! Dan 01/24/10 10:14am
Re: Iterations don't produce random lists! yehuda ben-s... 01/25/10 01:45am
Re: Iterations don't produce random lists! Hemant Parmar 01/26/10 08:31am
Re: Re: Iterations don't produce random lists! Tom 01/31/10 9:07pm
Next Comment >Help | Reply To Topic