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:colliding_crates [2021/02/17 17:26]
porcaro1
repository:colliding_crates [2021/02/17 17:36] (current)
porcaro1 [Answer Key]
Line 21: Line 21:
 In this activity, you will be asked to complete several tasks involving what you have learned about describing motion and applying this knowledge to actual computer program code.  In describing motion at this point, we need to consider both position and velocity. ​ To keep this activity simpler, you will be working with constant velocity, either positive or negative.  ​ In this activity, you will be asked to complete several tasks involving what you have learned about describing motion and applying this knowledge to actual computer program code.  In describing motion at this point, we need to consider both position and velocity. ​ To keep this activity simpler, you will be working with constant velocity, either positive or negative.  ​
  
-First, you will need to go to GlowScript.org and create your own free account to begin adapting the [[https://​www.glowscript.org/#/​user/​kstedman/folder/Public/program/CollidingCars/edit | computer code]] listed below. ​ Next, select "​create a new program"​ and copy and paste the code below to begin your adventure. ​ Make sure you copy all of it.+First, you will need to go to GlowScript.org and create your own free account to begin adapting the [[https://​www.glowscript.org/#/​user/​porcaro1/folder/RepositoryPrograms/program/CollidingCrates-Incomplete/edit | computer code]] listed below. ​ Next, select "​create a new program"​ and copy and paste the code below to begin your adventure. ​ Make sure you copy all of it.
   - Change the size of the box to make it smaller.   - Change the size of the box to make it smaller.
   - You will notice that the red crate is floating above the floor. ​ Put this crate on the floor, far left side, by changing the code.   - You will notice that the red crate is floating above the floor. ​ Put this crate on the floor, far left side, by changing the code.
Line 34: Line 34:
   - How could you make the crates meet sooner/​later?  ​   - How could you make the crates meet sooner/​later?  ​
 ===Code=== ===Code===
 +[[https://​www.glowscript.org/#/​user/​porcaro1/​folder/​RepositoryPrograms/​program/​CollidingCrates-Incomplete/​edit | Link]]
 <code Python [enable_line_numbers="​true"​]>​ <code Python [enable_line_numbers="​true"​]>​
 GlowScript 2.7 VPython GlowScript 2.7 VPython
Line 83: Line 84:
  
 ===Code=== ===Code===
-[[https://​www.glowscript.org/#/​user/​kstedman/folder/Public/program/CollidingCarsKey/edit | Link ]]+[[https://​www.glowscript.org/#/​user/​porcaro1/folder/RepositoryPrograms/program/CollidingCrates-Solution/edit | Link ]]
 <code Python [enable_line_numbers="​true",​ highlight_lines_extra="​5,​6,​16,​19,​20,​21,​24,​29"​]>​ <code Python [enable_line_numbers="​true",​ highlight_lines_extra="​5,​6,​16,​19,​20,​21,​24,​29"​]>​
 GlowScript 2.7 VPython GlowScript 2.7 VPython
  • repository/colliding_crates.1613582792.txt.gz
  • Last modified: 2021/02/17 17:26
  • by porcaro1