Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
repository:head-on_collision [2021/02/16 23:31]
porcaro1 [Activity Information]
repository:head-on_collision [2021/02/17 18:02] (current)
porcaro1
Line 6: Line 6:
 ===Prior Knowledge Required=== ===Prior Knowledge Required===
   *Units   *Units
-    *Dimensional analysis 
   *Constant velocity equation (kinematics)   *Constant velocity equation (kinematics)
   *Vector and scalar quantities   *Vector and scalar quantities
Line 17: Line 16:
 ====Activity==== ====Activity====
 ===Handout=== ===Handout===
-{{ :​repository:​head-on_collision.png?​nolink&​600|}}+{{ :​repository:​head-on_collision_1.png?​nolink&​600|}}
 ** Head-On Collision ** ** Head-On Collision **
- 
  
 You are part of a team that has been directed to film a head-on car crash for an action movie. You only have the funding for one take! So you must calculate where the crash will occur so that you can determine where to place the camera to get the shot. You are part of a team that has been directed to film a head-on car crash for an action movie. You only have the funding for one take! So you must calculate where the crash will occur so that you can determine where to place the camera to get the shot.
Line 30: Line 28:
 //​**Note:​**//​ when conducting this activity with students, the initial positions and velocities of the vehicles can be provided by the instructor, but for demonstration purposes they have been included in the code below. //​**Note:​**//​ when conducting this activity with students, the initial positions and velocities of the vehicles can be provided by the instructor, but for demonstration purposes they have been included in the code below.
 ===Code=== ===Code===
-[[https://trinket.io/glowscript/1c1fd603c9?​showInstructions=true ​| Link]]+[[https://www.glowscript.org/#/​user/​porcaro1/​folder/​RepositoryPrograms/​program/Head-OnCollision-Incomplete ​| Link]]
 <code Python [enable_line_numbers="​true"​]>​ <code Python [enable_line_numbers="​true"​]>​
 GlowScript 2.7 VPython GlowScript 2.7 VPython
Line 77: Line 75:
 ====Answer Key==== ====Answer Key====
 ===Handout=== ===Handout===
 +{{ :​repository:​head-on_collision.png?​nolink&​600|}}
   - The initial position of the red car is 350 feet to the left of the origin (line 11) and the initial position of the green truck is 450 feet to the right of the origin (line 12)   - The initial position of the red car is 350 feet to the left of the origin (line 11) and the initial position of the green truck is 450 feet to the right of the origin (line 12)
   - The velocity of the red car is 25 ft/s in the positive x-direction (line 15) and the velocity of the green truck is -40 ft/s in the negative x-direction (line 16)   - The velocity of the red car is 25 ft/s in the positive x-direction (line 15) and the velocity of the green truck is -40 ft/s in the negative x-direction (line 16)
Line 83: Line 82:
 The correctly modified code is shown below, with highlighted areas revealing important modifications. The correctly modified code is shown below, with highlighted areas revealing important modifications.
 ===Code=== ===Code===
-[[https://trinket.io/glowscript/40544f536b?​showInstructions=true ​| Link]]+[[https://www.glowscript.org/#/​user/​porcaro1/​folder/​RepositoryPrograms/​program/Head-OnCollision-Solution ​| Link]]
 <code Python [enable_line_numbers="​true",​ highlight_lines_extra="​28"​]>​ <code Python [enable_line_numbers="​true",​ highlight_lines_extra="​28"​]>​
 GlowScript 2.7 VPython GlowScript 2.7 VPython
  • repository/head-on_collision.1613518288.txt.gz
  • Last modified: 2021/02/16 23:31
  • by porcaro1