- Quiz Two is part of
the study
guide for the final
exam test/quiz.
The game of LIFE was NOT on quiz two, but I have
included two pages on that because it will be on the final. NetLogo File Menu > Models Library > Computer Science category > Cellular Automata > Life to open up the LIFE model.
Online LIFE Netlogo model.
- Quiz Two Study Guide is part of the study guide for the final exam.
- Turtles on quiz two question formed a CIRCLE: NetLogo
Circles or Rectangles of Turtles -
demonstration of cro 8 and fd 8 or fd squareRoot( 128 ) to form a
RECTANGLE of 8 turtles. Uses the COSINE trig function.
- FINAL EXAM: Using
the COSINE and some basic trigonometry to place
all the turtles in two rows and two columns of the turtle world.
Planes form a perfect circle:
Odd
turtles move SAME distance as EVEN, move
FARTHER than
EVEN, or move LESS than EVEN. Divide by or Multiply by COSINE.
- Oil Percolating and Cellular Automata models following simple rules that create fractal patterns. Earlier paper and pencil exercise that was also shown in Excel.
Seed, hexagonal cells, and a lookup table of rules.
- The FIRE model and the CONE OF VISION. Neighbors of patches are 4 or 8 squares. Also see FireModelVariation01.jpg
and the model that demonstrates different distances and amounts of peripheral vision with the in-cone CONE of VISION.
See the code seeingCone.pdf and the colors.
- Monte Carlo and Microsoft Excel - finding the area by throwing darts. What do the INT() and the RAND() and the IF() Excel functions do in the simulation model? What if you want to generate random numbers between 10 and 16? =RAND()*6 + 10 would do it? What if you wanted to generate random y values for the dart that were between 2 and 10? =RAND()*8 + 2 would do the job? Where did the 8 come from? Why add 2 to get the proper Y for the dart?
- Dividing by 3 - ifelse and the remainder function with remainder 0, or 1 or 2. Turtles and Planes and Fish. Also see and read about and study the Flying and Fishing model.
- Ventana VENSIM review questions. Seven questions over two pages and nine paragraphs.