SUCCEED

   

Programming 2009
Shodor > SUCCEED > Workshops > Archive > Programming 2009

First part of the morning the students learned JAVA, a programming language. Today the students edited their SIR (Susceptible-Infected-Recovered) models that they created in a modeling program called NetLogo. The students opened their models in textwrangler to edit them. They edited their sliderbar so that when it moved it changed the amount of susceptible, infected, and recovered people. The students also set what the slider bar controls. Next they created another slider bar that controls the default days to recovery. The student learned how to create a new text canvas.

They students entered in the code for the start, pause, and reset buttons which will allow them to control their SIR models. After they finished correcting their models in java, they had a working SIR model. The rest of the morning, Matt taught them java components, which allowed the students to make their sliderbars and buttons active.