Highlights:This exercise uses vPython to computationally model confining two colliding particles in a 3D box.
Abstract:Students in this exercise focus on modeling a collision between a small particle and a wall (see Underlying Physics). They modify a line that uses a position check between where a particle is and where the boundaries of the “box” are, and then modify an If statement to reverse the direction of the velocity. The life science goal of this activity is to imagine the collision happening in a defined container - such as a cell. This exercise is the second exercise of the larger diffusion sequence of activities.
Login or register to access these restricted files:
View All (3)
Restricted files are only available to verified educators.
See all the Living Physics Portal has to offer - registered users can access additional materials including works-in-progress, answer keys and instructor supplements, and community discussions.
Contact the Editor
Change your password
To change your password, please enter your current and new passwords below. Passwords must contain between 6 and 30 characters.
Note that the Living Physics Portal uses the same username and password as ComPADRE, PhysPort, and PER-Central, so changing your password here will also change it on those sites.
Create an Account
Already have an account on PhysPort or ComPADRE? Use your PhysPort/ComPADRE username and password below to link your accounts and skip a few steps.
Registering allows you to join the ComPADRE network and access all materials the Living Physics Portal has to offer, including:
answer keys and other instructor supplements
Choose an email address and password to use as your Portal login.
Some of your personal actions on the Portal will be made visible to other registered users including your profile, ontributions, comments and implementation reports, following of other users, who you are followed by, posts to discussion forums, and group participation.
If you contribute to the Vetted Library or run a working group or event, your Vetted Library contributions and profile will be publicly visible. Other users may opt in to making their profiles publicly visible.
We will not share your personal information with third parties without your explicit permission unless required by law.