Beginners Interactive NetLogo Dictionary (BIND)
Farsi / Persian
NetLogo Models Library:
This model draws a motion map for a car moving horizontally. Motion maps are one-dimensional plots built off of a position line. Along this horizontal axis, we can mark the car's position at any point in time while also including arrows to record its velocity and acceleration. The direction of the arrow corresponds to the direction of the velocity or acceleration while the magnitude of the arrow represents the magnitude of the velocity. Motion maps can be used to simultaneously visualize the position, velocity, and acceleration of a moving object.
Given intial conditions set by the user (initial velocity, acceleration, draw interval), the car will move accordingly:
current position = previous position + (velocity * time) + (1/2 * acceleration * time<sup>2</sup>)
As the car moves, the model tracks and plots its position, velocity, and acceleration. Positions are stamped as red dots. Velocity is represented by blue arrows (vectors) that indicate both magnitude and direction. The greater the velocity, the longer the arrow. Following a standard line plot, motion to the left is negative while motion to the right is positive.
Acceleration is denoted by either orange dots or orange arrows. Orange dots are reserved for when acceleration is zero. Similar to velocity, non-zero acceleration is represented by arrows with both magnitude and direction.
The draw interval simply determines how often the model should record data in the motion map (the duration between each "stamp").
Note, when the car reaches the map's boundaries it will disappear. The model will continue to run and keep track of the car's motion, but you will not see the car on the View.
Compare the graphs of two cars moving with different initial values. How does a positive acceleration interact with a starting negative velocity? Vice versa? What patterns do you notice between the motion map and the three plots?
Try setting the increments of velocity and acceleration to different values and see how the individual motions and graphs differ.
Try finding the values for velocity and acceleration that make the car reach both the right and left map boundaries before stopping.
This model was incorporated into the CT-STEM 1-D Kinematics Motion Maps Unit, a lesson plan designed for a high school physics class. In the unit, students experiment with a progression of models that explore constant velocity (lesson 1) and constant acceleration (lesson 2):
The base model: Students observe how different initial velocities produce different motion maps.
The base model with CODAP: Students use the base model again but can also observe traditional position-time and velocity-time graphs. These graphs are recorded with CODAP, an extension for data analysis.
A NetTango model: Students build their own motion maps model with programming blocks.
The base model with acceleration: Students can now change both the initial velocity and acceleration.
Model 4 with CODAP: With both velocity and acceleration included in the motion map, students can also see traditional position-time and velocity-time graphs.
Explore changing the colors for position, velocity, and acceleration.
Maybe add an additional car to see two running at the same time with different starting conditions.
Can update many cars at once with their own individual values. This model uses links to connect data from the moving red car with the velocity arrow, acceleration arrow, and position plots. NetLogo's
stamp method helps draw copies of the linked agents when called at specific time intervals.
If you mention this model or the NetLogo software in a publication, we ask that you include the citations below.
For the model itself:
Please cite the NetLogo software as:
This model was developed as part of the CT-STEM Project at Northwestern University and was made possible through generous support from the National Science Foundation (grants CNS-1138461, CNS-1441041, DRL-1020101, DRL-1640201 and DRL-1842374) and the Spencer Foundation (Award #201600069). Any opinions, findings, or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the funding organizations. For more information visit https://ct-stem.northwestern.edu/.
Special thanks to the CT-STEM models team for preparing these models for inclusion in the Models Library including: Kelvin Lao, Jamie Lee, Sugat Dabholkar, Sally Wu, and Connor Bain.
Copyright 2020 Uri Wilensky.
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License. To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-sa/3.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
Commercial licenses are also available. To inquire about commercial licenses, please contact Uri Wilensky at firstname.lastname@example.org.