Random walk- Brownian Motion

Posted by Sam on Stack Overflow See other posts from Stack Overflow or by Sam
Published on 2012-04-08T23:12:53Z Indexed on 2012/04/08 23:29 UTC
Read the original article Hit count: 154

Filed under:
|
|

I've been assigned the project of creating a simple console app. that models brownian motion in a 2D plane. I wasn't given much information on how to do so (and I'm hoping that it's a pretty popular assignment so that I could get some insight) just that it relies on random number generation. I researched brownian motion for a little bit and saw some formulas that looked complicated, but by the description is just seems to have to move randomly within a certain number interval. Can anyone clarify? Am I to create a program that continually creates a random number in an interval and then modify the particles "x" and "y" coordinate or is there more to it?

Thanks for any help.

© Stack Overflow or respective owner

Related posts about c++

Related posts about homework