Day 1 Goal: To create a model of people hunting in the forest for mushrooms and then start working on improving their mushroom hunting ability mathematically.

Slides:



Advertisements
Similar presentations
We Can Read About Mixing Colors
Advertisements

Got Gas? Jim and Michael. Problem Statement (Weight 15%) An investigation of a gas pump queue as a function of rationing policy We modeled the queue at.
Netlogo and its Relatives Logo (Papert) –Language for teaching mathematics graphically –Tell turtle how to move Starlogo (Resnick) & StarlogoT (Wilensky)
Week 7 DO NOW QUESTIONS. Question: In the following segment of code, “food-location” is a ___? breed [ foragers forager ] breed [ followers follower ]
Wurzer, Lorenz, Popov: „NetLogo Workshop (Part 1)“, in eCAADe 2012 Prague, Slide 1 „Netlogo First Steps (Artif. Societies) “, in Social Simulation Conference.
Using Logo and Logic Please use speaker notes for additional information!
Introduction to decision- making and error Behavioral economics and consumer decision-making.
Skip Counting Counting by 2, 5, and 10.
StarLogoTNG Treasure Hunt Game Unit Lesson 1: Basic Movement.
Teaching Contemporary Mathematics Conference January 25, 2013 Christine Belledin NC School of Science and Mathematics.
Department of Computer Science What is NetLogo UH-DMML  Multi-agent programmable modeling environment  Well suited for modeling complex systems evolving.
Mrs. Smith’s 7th Grade Reading Blue Class Mrs. Smith’s 7th Grade Reading Blue Class Mrs. Smith’s 7th Grade Reading Blue Class.
An Introduction to NetLogo given by Gabriel Wurzer. ,
Agent-Based Modeling and Simulation (ABMS) Bertan Badur Department of Management Information Systems Boğaziçi University.
Agent-Based Modeling and Simulation (ABMS) Bertan Badur Department of Management Information Systems Boğaziçi University.
Week 11 DO NOW QUESTIONS. An ask turtles block is a set of instructions that is issued to every turtle. Even though computers can do things very quickly,
To understand how to simplify ratios
Week 14 DO NOW QUESTIONS. You have been asked by a leader of your community to think about how a sudden increase in fuel price (gas= $12/gal) will affect.
An Introduction to NetLogo Gabriel Wurzer, Vienna University of Technology AnthropologischeGesellschaftWien.
Sequences.  1. Starting at the beginning object, count until you come to the requested position (term)  Ex-  What is the 11 th shape?
Dependent Probability. P(Yellow then Blue) = P (Pink then not blue) = P(Yellow then Yellow) = 3 32 == =
Week 9 DO NOW QUESTIONS. Question: If the following procedure is executed after 1 turtle is created in the program, what shape is created on the NetLogo.
Logo For beginners By Dali Matthews 9S What is logo?
Agent-Based Modeling and Simulation (ABMS) Bertan Badur Department of Management Information Systems Boğaziçi University.
Agent-Based Modeling and Simulation (ABMS) Bertan Badur Department of Management Information Systems Boğaziçi University.
New Mexico Computer Science For All Command Procedures in NetLogo Maureen Psaila-Dombrowski.
Agent-Based Modeling and Simulation (ABMS) Bertan Badur Department of Management Information Systems Boğaziçi University.
Week 2 DO NOW QUESTIONS. In this procedure the programmer intended to clear all the turtles and patches and make a new turtle of size 3 with the pen down,
Week 10 DO NOW QUESTIONS. A programmer has created 100 turtles of random colors and randomly distributes green patches. Every time the turtles land on.
New Mexico Computer Science For All Variables and Scope Maureen Psaila-Dombrowski.
11 To call into question Questioning of a statement or fact Demand for justification or explanation Challenge.
If you say 8 color the ones in your picture purple. If you say 9 color the ones in your picture blue.
Counter Probabilities Teacher's Notes Topic: Probability
StarLogoTNG 101 Treasure Hunt Game Unit Lesson 7: Coordinate System.
MIS 585 Special Topics in IMS Agent-Based Modeling Bertan Badur Department of Management Information Systems Boğaziçi University.
FRACTIONS & SHAPES BY:. How many of these are colored red? * out of *.
= 5 = 2 = 4 = 3 How could I make 13 from these shapes? How could I make 19 from these shapes? STARTER.
Week 4 DO NOW QUESTIONS. Question: Predict a turtle’s heading after this procedure is run once. to go ask turtles [ forward 1 set heading random 45 right.
MIS 585 Special Topics in MIS: Agent-Based Modeling 2015/2016 Fall.
GRAPHING RELATIONSHIPS For each graph, determine the graphing relationship and record it on a white board.
MIS 585 Special Topics in MIS: Agent-Based Modeling 2015/2016 Fall Chapter 7 Verification, Validation, and Replication.
Week 3 DO NOW QUESTIONS. In this setup procedure the programmer intended to create one turtle of each color: red, green, and blue. What went wrong? to.
Pablo Revelo. Birds: to 3birds pu home pd lt 80 pu fd 250 pd setpensize 2 setpc "white st bird pu bk random 100 bird pu lt 90 fd random 40 bird ht.
MIS 585 Special Topics in MIS Agent-Based Modeling NetLogo: Summary of Manual and Dictionary.
How likely is something to happen..  When a coin is tossed, there are two possible outcomes: heads (H) or tails (T) We say the probability of a coin.
M10 WS11:Krankenhausbedarfsplanung The World as We See It given by Gabriel Wurzer and Wolfgang E. Lorenz
Get Ready E Your Room Part 2. What colours can you find in the photo? black blue brown green orange red white yellow colour.
Management Information Systems
COLORS.
LOGO BY Kaotip 9S.
MIS 643 Agent-Based Modeling NetLogo: Summary of Manual and Dictionary.
Creating Simple Agent-Based Models
Management Information Systems
Watch Pete the Cat here:
Skip Counting Counting by 2, 5, and 10.
Colors.
البرمجة مع لغة PYTHON TURTLE
Name: _______________________________
Skip Counting Counting by 2, 5, and 10.
Average Number of Photons
Can I color yellow?. Can I color yellow?
How Many Colorful Shapes?
What Color is it?.
Using Logo and Logic This presentation uses a version of Logo called StarLogo available through MIT. It can be downloaded for free and installed on your.
Turn to Page S.89 Challenging Question
creating a ecosystems model in net logo
Shapes.
Color Box Button - Gray Type : object Type : object Type : object
Let’s Learn the Basic Colors
Presentation transcript:

Day 1 Goal: To create a model of people hunting in the forest for mushrooms and then start working on improving their mushroom hunting ability mathematically.

to setup ask patches [set pcolor green] end Day 1

to setup ask patches [set pcolor green] ask n-of 5 patches [set pcolor red] end

Day 1 to setup ask patches [set pcolor green] ask n-of 5 patches [ask n-of 10 patches in-radius 5 [set pcolor red]] end

Day 1 to setup ask patches [set pcolor green] ask n-of 5 patches [ask n-of 10 patches in-radius 5 [set pcolor red]] crt 2 [set size 3 set shape “person” set color blue] end

Day 1 to setup ask patches [set pcolor green] ask n-of 5 patches [ask n-of 10 patches in-radius 5 [set pcolor red]] crt 2 [set size 3 set shape “person” set color blue] end to go ask turtles [fd 1] wait.3 end

Day 1 to setup clear-all ask patches [set pcolor green] ask n-of 5 patches [ask n-of 10 patches in-radius 5 [set pcolor red]] crt 2 [set size 3 set shape “person” set color blue pen-down] end to go ask turtles [fd 1] ask turtles [if pcolor = red [set pcolor yellow show “found one!”]] wait.3 end

Day 1 to setup clear-all ask patches [set pcolor green] ask n-of 5 patches [ask n-of 10 patches in-radius 5 [set pcolor red]] crt 2 [set size 3 set shape “person” set color blue pen-down] end to go ask turtles [set heading heading + random 20 – random 20 fd 1] ask turtles [if pcolor = red [set pcolor yellow show “found one!”]] wait.3 end

Day 1 Try doing the following: 1. Change the size, color, and shape of your hunters. 2. Change the number of groups of mushrooms, mushrooms in each group, and radius of the groups. 6. Change the number of hunters.j

Day 2 Goal: To work on improving their mushroom hunting ability mathematically.

to setup clear-all ask patches [set pcolor green] ask n-of 5 patches [ask n-of 10 patches in-radius 5 [set pcolor red]] crt 2 [set size 3 set shape “person” set color blue pen-down] end to go ask turtles [set heading heading + random 20 – random 20 fd 1] ask turtles [if pcolor = red [set pcolor yellow show “found one!”]] wait.3 end Day 2

to setup clear-all reset-ticks ask patches [set pcolor green] ask n-of 5 patches [ask n-of 10 patches in-radius 5 [set pcolor red]] crt 2 [set size 3 set shape “person” set color blue pen-down] end to go ask turtles [set heading heading + random 20 – random 20 fd 1] ask turtles [if pcolor = red [set pcolor yellow show “found one!”]] wait.3 tick end Day 2

turtles-own [memory] to setup clear-all reset-ticks ask patches [set pcolor green] ask n-of 5 patches [ask n-of 10 patches in-radius 5 [set pcolor red]] crt 2 [set size 3 set shape “person” set color blue pen-down set memory 999] end to go ask turtles [search] wait.3 tick end to search ifelse memory < 20 [right (random 181) – 90][right (random 21) – 10] fd 1 ifelse pcolor = red [set memory 0 set pcolor yellow][set memory memory + 1] end Day 2

to search ifelse memory < 20 [right (random 181) – 90][right (random 21) – 10] fd 1 ifelse pcolor = red [set memory 0 set pcolor yellow][set memory memory + 1] end Day 2

Try doing the following: 1.Change the number of hunters to 1, then to 5. 2.Try setting the hunters’ initial heading to 45˚ by using the command: set heading Change each group of mushrooms to have more mushrooms in a smaller radius. Day 2

Try doing the following: 4. Have the hunters say “Found one!” using the command: show “found one!” 5. Instead of turning by -10 to 10 degrees when they haven’t found a mushroom for awhile, change it to -45 to Change where the hunters start by using the command: setxy Day 2

Challenge: Have the hunters count how many mushrooms they have found. You need to define: turtles-own [counter] You’ll need to use the command: set counter 0 And every time they pick up a mushroom the command: set counter counter + 1 Instead of saying show “found one!” have them: show counter Day 2