Friday 8 October 2010

Program description

Language: BASIC

Description: The program initially generates 4 random pairs of X,Y coordinates all within a 47 x 147 grid. The program runs through 10,000 loops where the X,Y coordinate can move up, down, left, right, or remain where it is. This creates 4 chains that are free to move around the grid and interact randomly, but always dependent of the last place the coordinate was. The process is repeated 3 times generating 30,000 X,Y coordinates per chain and in total 120,000 X,Y coordinates. In order to be statistically significant there are 4 chains of data within the same experiment and the experiment is ran 3 times which is the minimum required. Should there be any difference at this level, we will change the numbers accordingly to be more stringent.

Data capture: The program records the amounts of times:

1) 2 X coordinates are identical within the same loop (i.e. 2 chains are on the same X plane)
2) 3 X coordinates are identical within the same loop (i.e. 3 chains are on the same X plane)
3) 4 X coordinates are identical within the same loop (i.e. 4 chains are on the same X plane)
4) 2 Y coordinates are identical within the same loop (i.e. 2 chains are on the same Y plane)
5) 3 Y coordinates are identical within the same loop (i.e. 3 chains are on the same Y plane)
6) 4 Y coordinates are identical within the same loop (i.e. 4 chains are on the same Y plane)
7) X and Y are equal in at least 2 chains within the same loop (i.e.2+ chains interact at the same point in the same time)

Please click here > http://programminge.blogspot.com/2010/10/program.html to see the program itself

No comments:

Post a Comment