CS 1025 01 - Week #11 (Nov 04, 06, 08)



Monday, November 4th


  1. Data Flyer tool for finding the best fitting line through a set of points.
      y = mx + b     m is the slope of the line and b is the intercept.
                    
                     The intercept is where the line crosses the y-axis,
                         so it can also be called the y-intercept.
    
      When x = 0, we have
    
          y = 0x + b    or     y = 0 + b      or    y = b
    

  2. The SLOPE of a line that includes two points (x1,y1) and (x2,y2) is the RISE over the RUN. The RISE is the change in the Y's, and the RUN is the change or differece in the X's. y2 - y1 is the RISE and x2 - x1 is the RUN.

  3. Example: Using the Data Flyer tool to discover the LINEar relationship between average Birthrate and average Female Life Expectancy in a random sample of countries.

    1. The 15 countries with (x, y) pairs being (birthrate, female life expectancy).
    2. The x or birthrate variable would be considered the INDEPENDENT VARIABLE (IV).
    3. The y variable or female life expectancy would be considered the DEPENDENT VARIABLE. (DV).
    4. The relationship is discovered or modeled using the Data Flyer tool and predicting the best linear equation y = mx + b to discover the relationship between two variables.
    Notice the sum of squares of deviations:
        25,090    on page one 
       125,600    on page two
           122.2  on page three
            83.67 on page four    ( The BEST FIT possible, best fitting LINE )
                                        --------
                                        BEST gives the LEAST amount 
                                                of deviation from the line.
    

Wednesday, November 6th


  1. Bouncing Ball math... Homework 14 questions due one week from today.

    SOH CAH TOA trigonometry: Adobe After Effects Bouncing Ball background.

  2. NEW: Help on Set MysteryDistance 1.e. problem. 3:55 p.m. Monday 11/04/2013. Should be very helpful.
    a.  What is given?  What is known?  
    
    b.  What is the goal?  What is the unknown?
    
    c.  How can you use a. to get to b., perhaps involving 
                                  the Pythagorean Theorem?
    
        Write down what you know.  Draw pictures.  
        In this case, draw the BEFORE and the AFTER, i.e. 
           before the 2 second wait and after the 2 second wait.
    
        i. What do you know BEFORE the 2 second wait?   Draw a picture.
       ii. What do you know AFTER the 2 second wait?    Draw another 
                                                        picture, or 
                                                        elaborate on
                                                        your first picture.
       
        There is a way to get what you need from these two!
    

  3. Test One: NetLogo show the output: Sheet #1, questions 1 and 2 from the October 21st exam.

    HOMEWORK DUE today: NetLogo turtles questions 1 and 2 Worksheet/Homework on the show the output questions.

    1.  
        a.  coordinates for turtle #0
        b.  coordinates for turtle #1 and show work step by step, justify answer.
        c.  coordinates for turtle #2
        d.  coordinates for turtle #3
        e.  what is the mysteryDistance for the
        
                             set mysteryDistance ___________
                                                   fill in the blank command?
    2.  
        a.  ... the four headings are:
                         turtle #0                 turtle #1
                         turtle #2                 turtle #3
    
        b.  ... how many degrees total 
                            will each turtle have turned ...
      
        c.  Where will each and every turtle be facing or "pointing" ...?
            List the four headings again:
                                        turtle #0         turtle #1
                                        turtle #2         turtle #3
    

  4. Tri this Tee on: Snorg Tees T-Shirts. Adobe After Effects and your favorite SnorgTees Tee shirt design - t-shirt trigonometry. Tri it out.


Friday, November 8th


  1. Plot the following set of data using the Data Flyer tool; Plot this set of numbers using the SHODOR Data Flyer tool. It is MAYA 3D Graphics animation ease in data.
     1   0
     2   0.482
     3   1.9
     4   4.213
     5   7.379
     6  11.356
     7  16.103
     8  21.578
    
  2. Simulating Smoke with Adobe After Effects.

    Snowfall and smoking chimney using CC Snow and After Effects expressions.