Capt. Horatio T.P. Webb
GRAPHS AND RANDOM PROCESSES
Parks -- FALL 2000
Last Updated 12PM 10/3/2000

These four graph examples use a 1 pixel by 1 pixel gif image named g1.gif.
The pixel is red.
Here is the actual gif ---->  

 

Here is the gif using: <img src="g1.gif" width="30" height="60" > ----->  

 

We can exploit the img tag's height/width attributes in HTML to make graphics.

The examples below use this one pixel gif to create all graphs.
 



The examples are called "process generators." The objective is to generate processes (algorithms) based on particular random events. These simple algorithms utilize the random number generator built into VBScript (i.e., the function rnd). This mathematical function returns psuedo-random numbers between 0.0 and 1.0. From this basic uniform random number generator, we can construct various other random processes. This technique is used commonly in gaming and simulation.

Here are some examples:

Pick an example

1,000 Uniform Random [0,100]

1,000 Normal (0,1) mean = 0 standard deviation = 1

1,000 dice rolls (sum of two six sided)

1,000 from a Discrete Distribution (example from above)

 

  Pick a graph color  

    Red (g1.gif)

    Blue (g3.gif)

    Yellow (g4.gif)

    Green (g5.gif)

    Black (g6.gif)