Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
repository:football_players [2020/02/27 21:29] porcaro1 [Activity Information] |
repository:football_players [2021/02/18 19:08] porcaro1 |
||
---|---|---|---|
Line 15: | Line 15: | ||
* Cut/Copy Code. | * Cut/Copy Code. | ||
* Modify existing code | * Modify existing code | ||
- | * | + | * [[https://www.glowscript.org/#/user/kstedman/folder/Public/program/CollidingCars|Colliding Crates]] |
---- | ---- | ||
====Activity==== | ====Activity==== | ||
===Handout=== | ===Handout=== | ||
+ | {{ :repository:football_players_2.png?nolink&600|}} | ||
**Inelastic Collisions** \\ | **Inelastic Collisions** \\ | ||
- | {{ :repository:football_players.png?nolink&600|}} | + | |
In this activity, you will be asked to complete several tasks involving what you have learned about conservation of momentum and the interaction between masses when they collide and applying this knowledge to actual computer program code. | In this activity, you will be asked to complete several tasks involving what you have learned about conservation of momentum and the interaction between masses when they collide and applying this knowledge to actual computer program code. | ||
Line 31: | Line 32: | ||
- What is the final velocity of Biff and Buff while still in mid-air? | - What is the final velocity of Biff and Buff while still in mid-air? | ||
- Whose team wins the game: Biff's or Buff's? | - Whose team wins the game: Biff's or Buff's? | ||
- | - Now modify your [[https://www.glowscript.org/#/user/kstedman/folder/Public/program/CollidingCars|Colliding Crates]] program to fit this scenario | + | - Now modify your [[colliding_crates|Colliding Crates]] program to fit this scenario |
===Code=== | ===Code=== | ||
+ | [[https://www.glowscript.org/#/user/porcaro1/folder/RepositoryPrograms/program/FootballPlayers-Incomplete | Link]] | ||
<code Python [enable_line_numbers="true"]> | <code Python [enable_line_numbers="true"]> | ||
GlowScript 2.7 VPython | GlowScript 2.7 VPython | ||
Line 67: | Line 69: | ||
====Answer Key==== | ====Answer Key==== | ||
===Handout=== | ===Handout=== | ||
+ | {{ :repository:football_players_1.png?nolink&600|}} | ||
-Using the equation for momentum $\vec{p} = m\vec{v}$, we can plug in the known information to find Buff and Biff's respective momenta | -Using the equation for momentum $\vec{p} = m\vec{v}$, we can plug in the known information to find Buff and Biff's respective momenta | ||
-$\vec{p}_{Buff} = (100 \text{kg})(-8 \text{m/s}) =-800 \text{kg·m/s}$ | -$\vec{p}_{Buff} = (100 \text{kg})(-8 \text{m/s}) =-800 \text{kg·m/s}$ | ||
Line 78: | Line 81: | ||
-See below | -See below | ||
===Code=== | ===Code=== | ||
- | [[https://www.glowscript.org/#/user/kstedman/folder/Public/program/92/edit | Link to Interactive Code]] | + | [[https://www.glowscript.org/#/user/porcaro1/folder/RepositoryPrograms/program/FootballPlayers-Solution | Link]] |
<code Python [enable_line_numbers="true", highlight_lines_extra="6,7,8,17,20,21,22,24,25,30,32,33,34,35,36,37"]> | <code Python [enable_line_numbers="true", highlight_lines_extra="6,7,8,17,20,21,22,24,25,30,32,33,34,35,36,37"]> | ||
GlowScript 2.7 VPython | GlowScript 2.7 VPython | ||
Line 121: | Line 124: | ||
---- | ---- | ||
- | ====See Also==== | + | |
- | [[colliding_crates | Colliding Crates]] | + |