Amazon Suggestions

Wednesday, February 20, 2008

Week 4b(Valentines Day) - Modified Random Path

Below is the solution for the Modified Random Path simulation.
This solution for choosing the next step isn't unique but it is the simplest in my opinion.
I have used 100000 paths for each N.

The average should be zero because this simulation chooses each step depending from the very first step of the path and that is always 50% left or right so the average over many paths should be zero.


No comments: