Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 14 in printed book and digital formats -- plus a one-year subscription so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview

Buy Now




Random Walks

Issue: 5.2 (January/February 2007)
Author: JC Cruz
Article Description: No description available.
Article Length (in bytes): 23,352
Starting Page Number: 17
RBD Number: 5209
Resource File(s):

Download Icon 5209.zip Updated: Monday, January 15, 2007 at 1:16 PM

Related Web Link(s):


Known Limitations: None

Excerpt of article text...

This article explores the concept of a random walk model and some of the basic mathematics behind it. It will also demonstrate how to use REALbasic to simulate a random walk occurring in one and two dimensions.


In previous articles, ordinary differential equation (ODE) algorithms were used to simulate the motion of various physical systems. Furthermore, these simulated systems behave consistently and in accordance to the three Laws of Motion stated by Isaac Newton. Because of their predictable nature in the physical world, they are often referred to as deterministic systems.

However, there are certain systems whose behaviors are difficult, if not impossible, to simulate by conventional means. They display movement so complex that it appears to be totally random. Such complexity is usually caused by large numbers of near instantaneous interactions between the objects in the system. This is especially true when the dimensions of said objects approach molecular levels.

...End of Excerpt. Please purchase the magazine to read the full article.

Article copyrighted by REALbasic Developer magazine. All rights reserved.




Weblog Commenting and Trackback by HaloScan.com