CS 1025 Computational Modeling and Simulation

Test Two Study Guide - SPRING 2015 - Thursday, April 23rd


  1. VIP: What topics will be covered from the Exam #1 Study Guide? Review and practice for ALL of them. Test #2 is comprehensive.

    VIP: TEST #1 Study Guide is part of this Test #2 Study Guide!!!

  2. MONTE CARLO: Major New Topic since TEST #1 = MONTE CARLO - throwing darts, tossing kick or bean bags, estimating areas. The a, b, c, d formula.

  3. The M U S H R O O M model - with clusters of mushrooms and with one or two hunters.

  4. VIP - Study this carefully!!!: Turtle Trigonometry Solution with help on how to approach most or all of the problems using the Ghostbusters i. ii. iii. step approach.
      i. Peter Venkman  - Understand the problem.  Focus on WHAT.
    
                          (a) What is given?  What is known?
                          (b) What is the goal?  What is the unknown?
    
     ii. Raymond Stantz - Develop a PLAN.  Focus on HOW to solve it.
    
                          How to get from (a) to (b).
                          HOW to use the known givens to get to unknown goal 
                                               or result.
                          What formulas, such as SOH, CAH, TOA involve
                          the (a) known and the (b) unknown aspects?
    
    iii. Egon Spengler - Implement and carry out your plan using the 
                         tools such as NetLOGO, Data Flyer, After Effects,
                         Maya, Windows calculator, and hand calculations
                         with pen and pencil to carry out and clearly
                         SHOW your WORK step by step!
    

  5. Monte Carlo - review of Wednesday, November 14th, 2012 class. How to think about the known and the unknown and do algebra with the general formula. Dinosaur/Shark/Star Wars Fruit Snacks tossing solution to Area of the Contruction paper. Note: This was done in August 2013 with Star Burst candy cubes and two different size boxes.

                               b
    Do you understand the a = --- (d) formula and concepts.
                               c
     
    Can you look at a Monte Carlo problem 
        and find the a, 
                 the b,                         b
                 the c,                   The -----
                 the d?                         c
    
        and figure out which of the four parts is the goal, the unknown?
    
    It is all in the above study guide PDF.   See page CCC.  See CCC.
     
    BICTION = if the INK don' flow, the understanding don't grow.
      
    Take some notes, use some lead or ink, consume some scratch paper.
    Practice.  Don't just read over and look at.  DO!  Nike.  Just DO it.
    

  6. Monte Carlo with NetLogo - 33 by 33 grid, Cows and Houses, not to be confused with cows in houses instead of barns!

  7. Monte Carlo concepts and problems. MonteCarlo20darts.pdf: Throwing 20 darts, throwing 100 darts, estimating area of an ellipse, estimating area A, B, C and D when a line is involved. y = mx + b. The line has slope m and intercept b.

    Netlogo TURTLES randomly scatter, then turn into either a COW or a HOUSE depending on whether they hit the BULLS EYE or missed the oval shaped bulls eye.





Monte Carlo concepts will be on TEST TWO
Throwing Darts to determine an AREA.

MONTE CARLO QUESTIONS: Throwing Monte Carlo Darts or randomly scattering out turtles! :-)


  • Monte Carlo - given a diagram and graphical setup of an area, be able to determine what the area of below the function or between two functions is by using the Monte Carlo method.

    Know and understand the formula for coming up with a Monte Carlo estimated area when you know the proportion of or the actual count of "darts" that landed inside the area of interest.

  • Example:  Look at the following diagram which shows a solid point for every dart that was thrown
              and where it hit inside the target area.  The target area is the rectangle there you see
              that goes from x = 1 to x = 3 and from y = 4 to y = 8.
               
              (Note: for practical purposes, only 16 or 20 darts were thrown 
                                                   in the examples shown here).
       
              Calculate what the estimated area of the region above function g 
                                                          and below function h would be?  (The area BETWEEN function g and function h).  
              Please show your work and calculations.
              I need to see your process of arriving at the result.
              You will get partial credit if your equation is correct, but you just had a simple calculation, arithmetic error.
              You will NOT get full credit for just having the correct answer, so show the process for that reason too.