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:ball_launch [2021/02/16 23:35]
porcaro1 [Activity Description]
repository:ball_launch [2021/02/18 19:29] (current)
porcaro1
Line 23: Line 23:
 ====Activity==== ====Activity====
 ===Handout=== ===Handout===
-==Ball Launch== +{{ :​repository:​ball_launch_1.png?​nolink&​600|}} 
-**Part 1** \\ +**Ball Launch** 
-Copy and paste the code from this [[https://​www.glowscript.org/#/​user/​donpata27/folder/Public/program/ProjectileMotion ​| GlowScript program]]. Click the button to launch the ball. Your goal is to hit the target.+==Part 1== 
 +Copy and paste the code from this [[https://​www.glowscript.org/#/​user/​porcaro1/folder/RepositoryPrograms/program/BallLaunch-Incomplete ​| GlowScript program]]. Click the button to launch the ball. Your goal is to hit the target.
   - What 3 variables can you change that might enable the ball to hit the target? Ignore drag for right now.   - What 3 variables can you change that might enable the ball to hit the target? Ignore drag for right now.
     - Variable 1:     - Variable 1:
Line 37: Line 38:
 ^ Variable 3  | 3.                        | 3.                        | 3.                          |  ^ Variable 3  | 3.                        | 3.                        | 3.                          | 
  
-**Part 2**  {{ :​repository:​ball_launch.png?​nolink&​600|}}\\+==Part 2==  
 Answer the following questions that are related to the program and projectile motion. Answer the following questions that are related to the program and projectile motion.
   - What do the green arrows represent? How do they change over time?   - What do the green arrows represent? How do they change over time?
Line 43: Line 44:
   - How does changing the mass of the ball affect the motion of the ball and the size of the arrows?   - How does changing the mass of the ball affect the motion of the ball and the size of the arrows?
  
-**Part 3** \\+==Part 3==
 Extra: Within the code you’ll find a reference to the drag coefficient (line 27). Change the value to something between 0.01 and 0.001. Click to “Run this program”. Extra: Within the code you’ll find a reference to the drag coefficient (line 27). Change the value to something between 0.01 and 0.001. Click to “Run this program”.
   - Describe how the motion is different now that drag is incorporated into the program   - Describe how the motion is different now that drag is incorporated into the program
Line 53: Line 54:
 ^ Variable 2        | 2.                        | ^ Variable 2        | 2.                        |
 ^ Variable 3        | 3.                        |  ^ Variable 3        | 3.                        | 
-^ Variable 4 (Drag) |                           ​|+^ Variable 4 (Drag) | 4.                        ​|
 ===Code=== ===Code===
-[[http://​www.glowscript.org/#/​user/​donpata27/folder/Public/program/ProjectileMotionwithDrag ​| Link]]+[[https://​www.glowscript.org/#/​user/​porcaro1/folder/RepositoryPrograms/program/BallLaunch-Incomplete ​| Link]]
 <code Python [enable_line_numbers="​true"​]>​ <code Python [enable_line_numbers="​true"​]>​
 GlowScript 2.7 VPython GlowScript 2.7 VPython
Line 145: Line 146:
 ====Answer Key==== ====Answer Key====
 ===Handout=== ===Handout===
-**Part 1** \\+{{ :​repository:​ball_launch.png?​nolink&​600|}} 
 +==Part 1==
   -The three variables:   -The three variables:
     - Initial Speed (line 36)     - Initial Speed (line 36)
Line 157: Line 159:
 ^ Free Fall Acceleration (m/​s<​sup>​2</​sup>​) |       ​-10 ​                ​| ​      ​-10 ​                ​| ​     -14               ​| ​ ^ Free Fall Acceleration (m/​s<​sup>​2</​sup>​) |       ​-10 ​                ​| ​      ​-10 ​                ​| ​     -14               ​| ​
  
-**Part 2**+==Part 2==
   - The green arrows represent the velocity of the ball. They start out large, decrease in size, then get large again. They always point in the direction that is tangent to the path of the ball. This is consistent with the fact that the velocity of the ball slows down and then speeds up as it flies through the air   - The green arrows represent the velocity of the ball. They start out large, decrease in size, then get large again. They always point in the direction that is tangent to the path of the ball. This is consistent with the fact that the velocity of the ball slows down and then speeds up as it flies through the air
   - The blue arrows represent the acceleration of the ball. They stay the same size for the entire trip and always point downwards. This is consistent with the fact that the only force, and thus acceleration,​ acting on the ball is gravity   - The blue arrows represent the acceleration of the ball. They stay the same size for the entire trip and always point downwards. This is consistent with the fact that the only force, and thus acceleration,​ acting on the ball is gravity
   - Changing the mass of the ball has no effect on the motion of the ball, nor the size of the arrows. This is because the acceleration stays the same; a heavier ball experiences a greater gravitational force, and the ratio between force and mass (which is the definition of acceleration) is always constant. The velocity is the same as dictated by the code, although in a real setting a heavier ball would have to be pushed harder to achieve the same velocity.   - Changing the mass of the ball has no effect on the motion of the ball, nor the size of the arrows. This is because the acceleration stays the same; a heavier ball experiences a greater gravitational force, and the ratio between force and mass (which is the definition of acceleration) is always constant. The velocity is the same as dictated by the code, although in a real setting a heavier ball would have to be pushed harder to achieve the same velocity.
  
-**Part 3**+==Part 3==
   - The ball will not fly as far. While the original flight path (sans drag) is a symmetrical parabola, the new flight path (with drag) starts relatively parabolic but becomes compressed or squished towards the end   - The ball will not fly as far. While the original flight path (sans drag) is a symmetrical parabola, the new flight path (with drag) starts relatively parabolic but becomes compressed or squished towards the end
   - The blue arrows now represent the acceleration caused but the combined effects of gravitational force and drag force (which points opposite the velocity vector). In the first half of the launch, both drag and gravity have downward components creating a large resultant acceleration vector, while in the second half, the drag force points mostly up, thereby summing to a smaller resultant acceleration vector.   - The blue arrows now represent the acceleration caused but the combined effects of gravitational force and drag force (which points opposite the velocity vector). In the first half of the launch, both drag and gravity have downward components creating a large resultant acceleration vector, while in the second half, the drag force points mostly up, thereby summing to a smaller resultant acceleration vector.
Line 170: Line 172:
 ^ Launch Speed (m/s)                      |          120              | ^ Launch Speed (m/s)                      |          120              |
 ^ Launch Angle (°)                        |          50               | ^ Launch Angle (°)                        |          50               |
-^ Free Fall Acceleration (m/​s<​sup>​2</​sup>​ |          -10              |  +^ Free Fall Acceleration (m/​s<​sup>​2</​sup>​)|          -10              |  
-^ Drag Coefficient ​                       |          0.008            |+^ Drag Coefficient ​(-)                    ​|          0.008            |
  
 ===Code=== ===Code===
-[[https://​www.glowscript.org/#/​user/​donpata27/folder/Public/program/ProjectileMotionwithDrag ​| Link]]+[[https://​www.glowscript.org/#/​user/​porcaro1/folder/RepositoryPrograms/program/BallLaunch-Solution ​| Link]]
 <code Python [enable_line_numbers="​true",​ highlight_lines_extra="​65"​]>​ <code Python [enable_line_numbers="​true",​ highlight_lines_extra="​65"​]>​
 GlowScript 2.7 VPython GlowScript 2.7 VPython
Line 263: Line 265:
 ---- ----
 ====See Also=== ====See Also===
-  *[[block_on_a_ramp ​Block on a Ramp]] +  *[[cirque_du_soleil_stunt ​Cirque du Soleil Stunt]] 
-  *[[inner_tube_river_crossing ​Inner Tube River Crossing]]+  *[[angry_birds ​Angry Birds]]
  • repository/ball_launch.1613518504.txt.gz
  • Last modified: 2021/02/16 23:35
  • by porcaro1