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 [2021/02/18 18:58] porcaro1 |
repository:football_players [2021/02/18 19:08] (current) porcaro1 |
||
---|---|---|---|
Line 20: | Line 20: | ||
====Activity==== | ====Activity==== | ||
===Handout=== | ===Handout=== | ||
- | {{ :repository:football_players.png?nolink&600|}} | + | {{ :repository:football_players_2.png?nolink&600|}} |
**Inelastic Collisions** \\ | **Inelastic Collisions** \\ | ||
Line 32: | 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 68: | 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 79: | 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 |