CS 1025 01 - Week #7 - Oct 1, 3, 5


  1. Shodor Data Flyer tool used to Plot Data.
        x	            y
    -----------     -----------
    18.87621698	182.4256292
    17.54633109	169.9205046
    14.61456355	142.5921396
    9.207208273	96.17980646
    27.90328158	283.6795061
    13.48852953	134.4956086
    20.67813062	200.9475343
    23.37232677	233.8143082
    31.79632818	321.4977419
    22.29991883	220.8607116
    15.84755415	158.2243117
    27.53680069	270.4538525
     
    For the above set of numbers, use the DATA FLYER application.
          Assume that the INTERCEPT b can be left at 0.  
          It actually is 0 for this data!
          y = mx + b
          y = mx
    
          f(x) = m * x 
    
          What value of m, in other words, 
          what SLOPE 
                     gives you the SMALLEST SUM OF SQUARES OF DEVIATIONS?
    
          What is the slope of the BEST FITTING line for the set of 12 
                      -----                               (x, y) pairs?
    
    What is the SLOPE of the line that gives 
                               the smallest sum of squares of deviations?
    
  2. Introduction to Cellular Automata: Oil Spill Percolation Model: Fixed rules (Fractals) versus random chaos.

    Compare to the LIFE model from NetLogo. How many neighbors does each CELL have? Stay alive, become alive, die off, stay empty (unpopulated). What happens to each CELL in the Game of Life?

  3. Flash ActionScript and the bouncing ball. Gravity to be simulated using Adobe Flash. A very simple model will be created.

  4. TEST ONE on Monday, October 8th: Study guide/outline practice questions for test #1:

  5. Another set of practice data for the SHODOR data flyer application....
         x              y
    -----------     -----------
    20.44712727	20.51518572
    16.71315584	15.42506731
    17.99293085	16.15964686
    23.362533	22.79563739
    24.9267934	22.01796826
    18.55425506	18.20021532
    23.79604137	21.90370105
    19.86663545	17.55227197
    19.1290307	19.0699128
    21.91487095	22.91732607
    
        y = mx + b or in Data Flyer  f(x) = m * x + b
    
    
        What is m?   _________________       What is b?   _________________
    
    
        What is the Sum of squares of deviations that you found?
    
    

  6. Follow the Mouse and Paint it Red: NetLogo fun.