CS 1025 02 Computational Modeling and Simulation - online section



  1. Flocking Birds and Waggle Dancing Bees - is done.

  2. The take home Final Exam questions are ALL DONE.

    Email attachments to jacobson@cs.uni.edu or turn in at CS office (305 ITTC) or $ office door (307 ITTC). ITTC is old East Gym. My office and CS dept office is top floor, corner nearest the Union.

    Or turn in part or all during the final exam period at 10 a.m. Wednesday morning in Lang 213 classroom/lab. It is NOT due until Friday at 6 p.m. however, so no pressure to finish it before Wednesday or before all your other finals are all done.

  3. Old Ghostbusters Model Building material is useful to look at, but there is a link to it from Flocking Birds and Waggle Dancing Bees page. SEE LIST ITEM #5 and the parallels between the first FOUR steps of problem solving and Model Building. Analyze, Formulate, Solve, Verify. waggle.txt and ghost.txt




Last assignment: Monte Carlo 10 questions. Throwing darts to determine area's by estimating proportions.




Ungraded Practice Quiz to take on November 6th, 7th or 8th on http://www.uni.edu/elearning. 16 questions, but everyone gets SIXTEEN POINTS for just doing it as a homework.

Blackboard Discussion Forum and NetLogo reading/writing assignment.


Physics and Chemistry: GasLab Maxwell's Demon assignment.

Assignment Two: Readings questions from Resnick book, Turtles, Termites and Traffic Jams.

Due Thursday 09/15/2011 - from 6 free preview pages at amazon.com if you do not have the book yet.

Future assignment: to be modified, NOT assigned yet. Look it over and try item 2 or item ! if you wish.


  1. The class syllabus was handed out for the 9 MWF face to face class. (I am working on the syllabus for the ONLINE class - THIS IS NOT THE ONLINE SYLLABUS!!!!).

  2. This class will start using UNI eLearning and Blackboard sometime during the 3rd week of class. You will receive email, but will be able to link UNI eLearning right here or from www.uni.edu/eLearning when it is ready too. Until that is ready, we'll use this page and receive and send email from and to jacobson@cs.uni.edu.

  3. The textbook is Turtles, Termites and Traffic Jams by Resnick. As of late Thursday afternoon, September 1st, the bookstore still had two used copies available.

    www.amazon.com link to textbook: Turtles, Termites, and Traffic Jams by Mitchel Resnick. NOTE: Use Search inside this book link to read pages 3 through 8 (First Pages) of the book, if you do NOT have it yet.

    Read pages 3-8 of the book (23 paragraphs). You can read these pages on the amazon.com link if you do not yet have the book. LOOK INSIDE the book and choose FIRST PAGES.

    For your convenience, I have provided the first sentence of each and every one of the pargraphs here. Makes a good outline and study guide to help your focus and note taking and the future discussion.

    Chapter 1 - Pages 3 through 8 - first sentence of each paragraph.
      
    These 23 paragraphs and these 6 pages are available in the amazon First 
    Pages preview LOOK INSIDE! this book.
                  ------------             Click to LOOK INSIDE!
    1                                      ---------------------
    --------------------------------
    Foundations
    
    Any study which throws light upon the nature of "order" or "pattern"
    in the universe is surely notrivial.
                         ---Gregory Bateson, Steps to an Ecology of Mind
      
    A flock of birds sweeps across the sky.  
    Like a well-choreographed dance troupe, 
       the birds veer to the left in unison.
           Then, suddenly, they all dart to the right
                 and swoop down toward the ground.
        ...
    
    How do birds keep their movements so orderly, so synchronized?
        ...
    
    Bird flocks are not the only things that work that way.
        ...
    
    In recent years, there has been a growing fascination with these types of systems.
        ...
    
    Almost everywhere you look these days, there is evidence of decentralization.
        ...                                                     ----------------
    
    But even as the influence of decentralized ideas grows, 
    there is a deep-seated resistance to such ideas.
        ...
    
    This assumption of centralized control, a phenomenon I call the 
    centralized mindset, is not just a misconception of the scientifically naive.
        ...
    
    Of course, centralized ideas are not always bad or wrong.
        ...
    
    That is starting to change, but only slowly.  There is a powerful tension.
        ...
    
    In this book I explore both the allure of decentralization and 
    the centralized mindset that resists it.
        ...
    
    My investigation consists of several interwoven threads, each of which 
    reinforces and enriches the others.
        ...
            Probing people's thinking.
            Developing new conceptual tools.
            Developing new computational tools.  (NetLogo turtle graphics)
        ...
    
    High-school students have used StarLogo to create and explore a variety 
    of decentralized microworlds.
        ...
    
    This research might seem like a strange mixture.  What field is it?
        ...
    
    The Era of Decentralization
    On December 7, 1991, Russian president Boris Yeltsin met with the 
    leaders of Ukraine and Belarus in a forest dacha outside the city of Brest.
        ...
    
    The next day, halfway around the world, another powerful institution 
    announced its own decentralization plans.  IBM chairman John Akers 
    publically announced a sweeping reorganization of the computer giant, ...
        ...
    
    Thus, within days, two of the world's most powerful institutions 
    announced radical transformations, abandoning centralized hierarchies
    in favor of more decentralized structures.
        ...
    
    The decentralization trend is evident in the ways that people organize
    countries and corporations, and in the ways people design new 
    technologies.  But more important, it is evident in the ways people
    THINK ABOUT the world.
         ...
    
    Of course, interest in decentralization is not entirely new.
         ...
    
    Nearly a century after Adam Smith, Charles Darwin brought the idea of 
    the invisible hand to biology.
         ...
    
    This section examines the trend toward decentralization in five different domains:
         ...
    
    As I investigated the growing interest in decentralized ideas in so many 
    varied domains, my first inclination was to try to figure out which 
    domain is the most influential.
         ...
    
    But as I thought about it, I realized that my inquiry was violating the 
    spirit of the very trend that I was trying to study.  Why should there 
    be a single, central, underlying cause for all of this decentralization?
         ...
    
    The following overview is necessarily superficial, ignoring many of the 
    subtleties and exceptions to the decentralization trend.
    
    
  4. Flocking of birds example: Watch the movie and then play with item #5, the NetLogo model published to the web.

  5. Look at the Forest Fire model in the Earth Science portion of the NetLogo Models Library. Read about it first, then click RUN FIRE IN YOUR BROWSER to try it out.

  6. See the Table of Contents for chapter 2: Constructions and chapter 3: Explorations of the Turtles, Termites and Traffic Jams book:

    See the Models Library for NetLogo. All of these models will also be installed on your computer (PC or MAC) when you install the free NetLogo turtle graphics software.

    Biology category has SLIME model (see SLIME MOLD in chapter 3)
                         ANTS model  (see Artificial Ants in chapter 3)
                         TERMITES model (see Termites in chapter 3)
    
    Social Science category has Traffic Basic
                            and Traffic Grid (see Traffic Jams in chapter 3)
    
    Earth Science category has Fire (see Forest Fire in chapter 3)  
    
    

  7. Another forest FIRE model available from SHODOR.

  8. Shodor Data Flyer tool used to Plot Data. We will plot some Forest Fire simulation output sometime in late September.

  9. What types of things will we do in CS 1025? See http://www.cs.uni.edu/~jacobson/025/r/ for outline of the major topics and some of the examples.

    See also http://www.cs.uni.edu/~jacobson/1025/art/ for more possibilities on the ONLINE section of the class.


Three Assignments for ONLINE CS 1025 02
Only the first one is assigned and to be submitted and turned in (Monty Hall)

  1. Assignment One is due by Friday, September 9th, 2011 for the ONLINE class. Playing the Monty Hall game with a model. Your simulation experiement will try to figure out which strategy is best - sticking with your first choice or switching to the other door.

    Send email to jacobson@cs.uni.edu with your answers to the questions and tasks. Anytime by or on Friday 09/09/2011 is fine, including late that evening if needed. Feel free to scan in hand-written pen/pencil sheets and send as attachment too, if you wish.

  2. Read pages 3, 4, 5, 6, 7, and 8 of Turtles, Termites, and Traffic Jams. Take some notes. I will prepare some questions about those readings and add that information here soon.

  3. NetLogo agent based modeling and TURTLE GRAPHICS: Watch is this Netlogo basics video tutorial created one year ago, in the fall of 2010. Watch it. Take some notes on it. Its only 12 minutes long.

Work ahead if you wish - future tasks coming soon

  1. Link to download and install NetLogo on your computer (PC or MAC). It is FREE!

    Netlogo is also available at most of the computer labs on the UNI campus, including all CNS labs and all of the SCC (Student Computer Center) labs like the Library, Union, Redeker, Towers, Lawther, etc.

  2. We will look at the NetLogo Flocking of Birds example next week, after Labor Day holiday. The textbook talks about birds and flocking behavior is observed and discussed in the movie Jurassic Park too! We will get to that movie in November and/or December.

  3. Where is the Computer Consulting Center, NetLogo class review, etc. August 23, 2010 email is useful one year later! :-)

  4. Check out this NetLogo example of airplanes flying and fish swimming. How is NetLogo able to do CIRCLES??? Be sure to try out the SLIDERS and all 3 BUTTONS.

  5. Predator/Prey model and NetLogo basics - Panthers versus Jackrabbits or Lynx versus Hare. There are several Predator/Prey models available in the NetLogo library. Try out this one: