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:beating_the_train [2020/03/17 19:12]
porcaro1 [Activity]
repository:beating_the_train [2021/02/18 19:12] (current)
porcaro1 [Answer Key]
Line 8: Line 8:
 ===Prior Knowledge Required=== ===Prior Knowledge Required===
   * Units   * Units
-    * Dimensional Analysis 
   * Kinematic Equations   * Kinematic Equations
   * Newton'​s 2nd Law of Motion   * Newton'​s 2nd Law of Motion
Line 14: Line 13:
 ===Code Manipulation=== ===Code Manipulation===
   * Modify existing code   * Modify existing code
-      * [[https://​www.glowscript.org/#/​user/​kstedman/​folder/​Public/​program/​CollidingCars|Colliding Crates]]+      * [[colliding_crates|Colliding Crates]]
 ---- ----
 ====Activity==== ====Activity====
 ===Handout=== ===Handout===
-**Beating the Train**\\ 
 {{ :​repository:​beating_the_train1.png?​nolink&​600|}} {{ :​repository:​beating_the_train1.png?​nolink&​600|}}
 +**Beating the Train**\\
 +
 A train is approaching a crossing, traveling at a constant velocity if 15 m/s to the east. You are on an afternoon ride on your motorcycle when you get stopped at a stoplight 50 m south of the crossing. At the instant the light turns green, the train is 90 m west of the crossing. Your mass, including the motorcycle, is 400 kg A train is approaching a crossing, traveling at a constant velocity if 15 m/s to the east. You are on an afternoon ride on your motorcycle when you get stopped at a stoplight 50 m south of the crossing. At the instant the light turns green, the train is 90 m west of the crossing. Your mass, including the motorcycle, is 400 kg
  
Line 27: Line 27:
   - Modify the [[https://​www.glowscript.org/#/​user/​kstedman/​folder/​Public/​program/​CollidingCars| Colliding Crates]] program to fit this scenario.   - Modify the [[https://​www.glowscript.org/#/​user/​kstedman/​folder/​Public/​program/​CollidingCars| Colliding Crates]] program to fit this scenario.
 ===Code=== ===Code===
-[[https://​www.glowscript.org/#/​user/​kstedman/folder/Public/program/CollidingCars| Link]]+[[https://​www.glowscript.org/#/​user/​porcaro1/folder/RepositoryPrograms/program/BeatingtheTrain-Incomplete| Link]]
 <code Python [enable_line_numbers="​true",​ highlight_lines_extra="​0"​]>​ <code Python [enable_line_numbers="​true",​ highlight_lines_extra="​0"​]>​
 GlowScript 2.7 VPython GlowScript 2.7 VPython
Line 62: Line 62:
 ====Answer Key==== ====Answer Key====
 ===Handout=== ===Handout===
 +{{ :​repository:​beating_the_train2.png?​nolink&​600|}}
   - To find the time it will take for the train to reach the crossing, divide the distance between the train and the crossing by the velocity of the train:   - To find the time it will take for the train to reach the crossing, divide the distance between the train and the crossing by the velocity of the train:
     - $t=\dfrac{90\text{m}}{15\text{m/​s}}=6\text{s}$     - $t=\dfrac{90\text{m}}{15\text{m/​s}}=6\text{s}$
Line 89: Line 90:
   - See below   - See below
 ===Code=== ===Code===
 +[[https://​www.glowscript.org/#/​user/​porcaro1/​folder/​RepositoryPrograms/​program/​BeatingtheTrain-Solution | Link]]
 <code Python [enable_line_numbers="​true",​ highlight_lines_extra="​3,​4,​16,​17,​18,​19,​20,​21,​22,​23"​]>​ <code Python [enable_line_numbers="​true",​ highlight_lines_extra="​3,​4,​16,​17,​18,​19,​20,​21,​22,​23"​]>​
 GlowScript 2.7 VPython GlowScript 2.7 VPython
Line 125: Line 127:
 ---- ----
 ====See Also==== ====See Also====
-  * [[colliding_crates ​Colliding Crates]] +  * [[terminal_velocity ​Terminal Velocity]]
-  * [[football_players | Football Players]]+
  • repository/beating_the_train.1584472346.txt.gz
  • Last modified: 2020/03/17 19:12
  • by porcaro1