Stat Rap and Scratch


Friday 04/21/2017 - Earth Day eve



  1. Stat Rap - any ideas for a CS 1025 Modern Tools for Exploring Data Rap?
    sometimes two variables in the ranges     f(x) = mx + b or y = mx + b
    one can predict how the other changes
    
    if you got this distinct impression          *** Starts at 2:57 in video ... 
    you're in need of some linear regression     DATA FLYER TOOL
     
    To minimize error in your prognostication
    calculate the least squares equation         The sum of the squares
    This can be accomplished with ?????
    
    or you can just uses some matrices
    
    Beta nought is where you cross the y                B        B     Beta nought is b, the intercept...
    beta one is the slope of the line                    0        1    Beta one is m, the slope. 
                                                     --------- -------
                                                     intercept  slope    
    
                                                 *** Finishes at 3:24 in video ... 
    
    Transcribed Stat Rap Lyrics ...

  2. Teaching Children Coding... NetLOGO, Scratch, Vensim...

    Mitch Resnick's TED Talk on Scratch, Mother's Day and teaching children how to use scratch (from STEM to STEAM). Learning to code and coding to learn. Game programming and keeping score.

  3. Scratch examples and links and snapshots...

  4. SCRATCH: Scratch.MIT.edu - we had Scratchy, the Cat, draw a 24 sided polygon.
    Compare what we did today to NetLOGO:
    
     1. NetLOGO would only need one turtle to do this.
     2. Or NetLOGO could use 40 turtles to do the same thing 
        that Scratchy did, but simultaneously drawing the
        40 different circles.  Choreography!
     3. rt 15 in NetLOGO is the same as turn 15 degrees in Scratch.
     4. move 10 steps in Scratch is the same as fd 10 in NetLogo.
     5. repeat 40 in Scratch is the same as:
    
        repeat 40          in NetLOGO
        [
             statements to be repeated, between [ ] characters...
        ]
    
  5. Here is the SCRATCH code for HipHop 24 circles - try it out.
    24 sided polygon looks like a circle. 24 times 15 = 12 times 30 = 6 times 60 = 360 degrees.


    1. Attempt to improve on HipHop - happy accident might be better than symmetrical goal! HipHop2 ...

    2. Another accident - "wrong output" - HipHop4 ...

    3. Finally, the symmetry around the Y axis is SOLVED! HipHopSolved does the top "side" of the 24 sided polygon one half at a time, leaving the other 23 sides to the inner loop.

  6. SCRATCH information and online tutorial Getting Started With Scratch list of steps (Step Index) to sound, dancing, changing color, moving.

  7. Comparing Scratch Polygons to NetLOGO Polygons.
    Triangle, Square, Pentagon.