CS 1025 01 - Week #8 (Oct 13, 15, 17)



Monday, October 13th


  1. Done in class on 10/13/2014: Mystery Distance PDF.
    VIP: Do this again on your own! Answer a., b. and c. below.
    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!
    
    

    Try solving the above problem using SOH, CAH, TOA trigonometry too. Its useful to solve a problem in several ways to learn many approaches.

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

    Fall 2014 Practice: NetLogo turtles questions 1 and 2 Worksheet/Homework on the show the output questions. Due on Thursday, Feb 18th, 2014.

    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
    
    


Wednesday, October 15th


  1. Test ONE is one week from today. Practice, practice, practice.

  2. The Game of Life: NetLOGO two-dimensional cellular automaton model. What are the rules of Life?

  3. John Conway's Game of Life. Sample test question: What does the Grid look like next, given the set of rules and the set of live cells?

  4. SOHCAHTOA trigonometry and NetLogo turtles.

  5. Even and Odd turtles. The ODD turtles draw the hypotenuse of a right triangle. The EVEN turtles draw or imply the legs of the right triangle. 360 divided by 8 equals 45 degree angles.

    Square instead of circle: Eight turtles forming eight graphics handles and a rectangle instead of a CIRCLE

    
       What is the square root of (3 squared plus 4 squared)?
       
        2      2       2       Why do odd turtles travel FD square root of 128?
       5   =  3   +   4        If EVEN turtles travel FD 8, 
                               and 
                                  if   2              2     2
                                      8  =  64  and  8  +  8  = 128 ...
    
       ... Look at and play with the NetLogo example!
    

  6. Monte Carlo resources including video tutorial.


Friday, October 17th


  1. Turtle trig: Twenty turtles created with cro 20 moving forward 10 create 18 degree slices of pie. Where is the 5th turtle, the turtle with WHO number 4? Shooting an ARROW at the target.

  2. 20TurtlesTrig10_15_2014.pdf. How to solve the problem of where is turtle who #4 at (xcor, ycor) and what is its heading?

  3. Twelve Turtle Trigonometry old assignment. Find the heading, the xcor, and the ycor of the 3rd turtle (turtle with WHO number 2).