Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Michael
Posts:
12
Registered:
6/18/12


Random 3D Walk
Posted:
Oct 20, 2012 4:59 PM


Hello,
I'm interested in writing a code that can run through random 3D walk, with many many steps. I want to be able to count the number of times the random walker touches/bounces off of a particular (impenetrable, xy) plane .
Then! I'd like to be able to run that simulation/counter many, many times as well to find the average number of times to walker passes the plane.
What should my code structure look like? How might I make the execution fairly simple/quick?
I'd really appreciate any advice or notsocommon tips which may be of use!
Thank you, Michael



