CS 1025 01 - Week #4 (Feb 04-06)


Tuesday, February 4th


  1. Plot this set of numbers (from Maya 3D Graphics planet orbit animation).
     1   0
     2   0.482
     3   1.9
     4   4.213
     5   7.379
     6  11.356
     7  16.103
     8  21.578
    
    Here is the absolutely best fitting linear equation y = mx + b, for the
    above data.  The slope of the straight line is m and the intercept is b.
    
                 When x is equal to 0, the equation becomes y = m*0 + b, or
                                                            y = 0 + b = b.
    
      y = f(x) = 3.104 * x - 6.090  or  y = 3.1 * x - 6.1
    
    The best CURVE fitting quadratic equation for the above set of 
    8 points, i.e. (x, y) pairs is:
    
        f(x)  =  y = 0.416 * x*x  -  0.641 * x  +  0.152
         
                              2
           or    y  =  0.416 x   -  0.641 x  +  0.152
    

  2. The SHODOR Data Flyer tool.

Thursday, February 6th


  1. Finding the slope of a line: Rise over the Run. It is wise to remember the rise is the y's. The runner looks like an x, perhaps.

  2. Data Flyer Slope Intercept Squares: Assignment due TODAY or TOMORROW - Friday, February 7th.

    TO: jacobson@cs.uni.edu ... SUBJECT: Data Flyer y = mx + b

    46	55
    50	55
    48	59
    45	56
    31	68
    45	63
    50	53
    18	79
    28	72
    24	72
    34	68
    20	71
    28	72
    13	82
    13	81
    

  3. NetLogo: 18 QuickTime movies created with NetLogo movie feature and time reversed with Adobe After Effects.
    ;; make a 20-step movie of the current view
    
    setup
    movie-start "out.mov"
    
    repeat 20 
    [
      movie-grab-view
      go
    ]
    
    movie-close
    
...