Presentation is loading. Please wait.

Presentation is loading. Please wait.

Week 13 DO NOW QUESTIONS. to FishWiggle right random 45 left random 45 forward 1 set Fenergy Fenergy - 0.1 end Suppose you had a working model of small.

Similar presentations


Presentation on theme: "Week 13 DO NOW QUESTIONS. to FishWiggle right random 45 left random 45 forward 1 set Fenergy Fenergy - 0.1 end Suppose you had a working model of small."— Presentation transcript:

1 Week 13 DO NOW QUESTIONS

2 to FishWiggle right random 45 left random 45 forward 1 set Fenergy Fenergy - 0.1 end Suppose you had a working model of small fish feeding and living in the ocean. How could you change the code above to make the model more general so that you could explore without having to change the actual code each time? a.Change the name of the procedure to BigFishWiggle b.Change line iv “Forward 2” c.Add a slider and change line v “set Fenergy Fenergy – newSlider” d.Include a line that “Ask fishes [ set size 3 ]” e.Create a new procedure for each new scenario.

3 Breeds” allow programmers to have different kinds of turtles with different custom variables. The names also help programmers keep track of which agentset they are working with. What does the following command do? breeds [sharks shark] a.Immediately Creates 100 sharks b.Allows you to use the command “create-sharks” later in your code c.Allows to use a command like sharks-own [hungry?] later in your code. d.Using breeds will likely make your code more understandable and readable. e.b, c and d above.

4 to FishDie if Fenergy <= 0 [die] end In a model that has fish that are moving and expending energy; eating and gaining energy; why might you want to have the code above? a.To punish the fish for not doing what you say. b.To model the consequences of running out of food. c.To make a more accurate model of sustainability—fish die when resources are depleted. d.To keep fish from getting too much Fenergy e.B and C

5 The concept of “carrying capacity” is important in biology. It means that a given environment only has enough food (or space, etc.) to support a certain number of organisms. In a model that has fish moving (spending energy), eating (gaining energy), and reproducing when they have gained enough energy. What limits the fish population? a.The amount of food available b.The number of other fish c.The amount of energy that they need to reproduce. d.The amount of energy gained from the food e.All of the above

6 You have created a simple fish ecosystem model with fish and plankton. Not you want to add a predator, say a shark. What things do you need to include? a.A new breed perhaps called shark b.An interaction between the shark and the fish c.Procedures that allow the shark to move around, give birth and die. d.Nothing, you just need to put the shark into the model and let nature take its course e.a, b and c


Download ppt "Week 13 DO NOW QUESTIONS. to FishWiggle right random 45 left random 45 forward 1 set Fenergy Fenergy - 0.1 end Suppose you had a working model of small."

Similar presentations


Ads by Google