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_on_a_ramp [2021/03/24 23:08]
porcaro1
repository:ball_on_a_ramp [2021/03/24 23:34] (current)
porcaro1 [Answer Key]
Line 21: Line 21:
 ** Ball on a Ramp **  ** Ball on a Ramp ** 
  
-Provided below is some [[https://​www.glowscript.org/#/​user/​porcaro1/​folder/​REPOSITORYSTUFF/​program/​BallonRamp(StudentVersion)/​edit | code]] that is supposed to model the behavior of a ball rolling down an inclined plane. Run the code.+Provided below is some code that is supposed to model the behavior of a ball rolling down an inclined plane. Run the code.
  
 ==Exploration Instructions== ==Exploration Instructions==
Line 64: Line 64:
  
 ===Code=== ===Code===
-==Incomplete== +[[https://​www.glowscript.org/#/​user/​porcaro1/​folder/​RepositoryPrograms/program/BallOnRamp-Incomplete2 ​| Link]]
-[[https://​www.glowscript.org/#/​user/​porcaro1/​folder/​REPOSITORYSTUFF/program/BallonRamp(StudentVersion)/​edit ​| Link]]+
 <code Python [enable_line_numbers="​true"​]>​ <code Python [enable_line_numbers="​true"​]>​
 GlowScript 2.7 VPython GlowScript 2.7 VPython
Line 145: Line 144:
 #    t=tFinal #sets the timer to the final value, so the loop stops </​code>​ #    t=tFinal #sets the timer to the final value, so the loop stops </​code>​
  
 +----
 +====Answer Key====
 +===Handout===
 +==Evaluation Questions==
 +  - Increasing the height of the ramp did not affect the final speed of the ball.
 +  - Increasing the length of the ramp increased the final speed of the ball.
 +  - The simulation is not realistic; When a ball rolls down a ramp, it is moved due to the force of gravity; however, it cannot fall straight down since it is restricted by the ramp. On a completely horizontal surface, gravity and the normal force perfectly balance each other out, and there is no acceleration. As the ramp becomes steeper, the less the force of gravity is resisted by the normal force. For a completely vertical surface, there will be no normal force and therefore the force of gravity pulls the ball towards the earth unimpeded. This means that increasing the ramp height should increase the speed of the ball. Additionally,​ changing the length of the ramp should not affect the final speed of the ball. Although a ball rolling down a steeper ramp will accelerate faster, the final speed of the ball at the end of the ramp will be the same, regardless of ramp length (ignoring frictional forces). This can be demonstrated by relating the potential and kinetic energy. We can set potential energy equation equal to the kinetic energy equation to find the speed of the ball is affected by the ramp: $$mgh=\dfrac{1}{2}mv^2$$ where $m$ is mass of the ball, $g$ is the acceleration of gravity, $h$ is the height of the ramp, and $v$ is the speed of the ball. Since the mass, force of gravity, and height of the ramp does not change when you lengthen the ramp, the velocity will be the same.
 +  -  Adding a coefficient of friction could reduce the speed of the ball. This is because frictional forces resist motion.
 +  - See highlighted code below. Note that some values are in slightly different locations in the code below.
 +  - "​axis"​ tells us the direction that the ramp will point. In this instance, the ramp will be "​R1X"​ units in the x-direction and "​-R1Y"​ units in the y-direction
 +===Code===
 ==Partially Complete== ==Partially Complete==
 [[https://​www.glowscript.org/#/​user/​porcaro1/​folder/​RepositoryPrograms/​program/​BallonRamp-Solution/​edit | Link]] [[https://​www.glowscript.org/#/​user/​porcaro1/​folder/​RepositoryPrograms/​program/​BallonRamp-Solution/​edit | Link]]
-<code Python [enable_line_numbers="​true"​]>​+<code Python [enable_line_numbers="​true", highlight_lines_extra="​84,​85,​86"]>
 GlowScript 2.7 VPython GlowScript 2.7 VPython
  
Line 240: Line 250:
     if ball.pos.x > R1s + R1X:     if ball.pos.x > R1s + R1X:
         t=tFinal</​code>​         t=tFinal</​code>​
----- +==Complete== 
-====Answer Key==== +[[https://​www.glowscript.org/#/​user/​porcaro1/​folder/​RepositoryPrograms/​program/​BallonRamp-Solution ​| Link]] 
-===Handout=== +<code Python [enable_line_numbers="​true",​ highlight_lines_extra="​18,​19,​20,​21,​22,​23,​24,​30,​32,​38,​39,​40,​67,​68,​69,​93,​94,​100,​101,​102,​104,​105,​106,​107,​108,​109,​110"]>
-==Evaluation Questions== +
-  - Increasing the height of the ramp did not affect the final speed of the ball. +
-  - Increasing the length of the ramp increased the final speed of the ball. +
-  - The simulation is not realistic; When a ball rolls down a ramp, it is moved due to the force of gravity; however, it cannot fall straight down since it is restricted by the ramp. On a completely horizontal surface, gravity and the normal force perfectly balance each other out, and there is no acceleration. As the ramp becomes steeper, the less the force of gravity is resisted by the normal force. For a completely vertical surface, there will be no normal force and therefore the force of gravity pulls the ball towards the earth unimpeded. This means that increasing the ramp height should increase the speed of the ball. Additionally,​ changing the length of the ramp should not affect the final speed of the ball. Although a ball rolling down a steeper ramp will accelerate faster, the final speed of the ball at the end of the ramp will be the same, regardless of ramp length (ignoring frictional forces). This can be demonstrated by relating the potential and kinetic energy. We can set potential energy equation equal to the kinetic energy equation to find the speed of the ball is affected by the ramp: $$mgh=\dfrac{1}{2}mv^2$$ where $m$ is mass of the ball, $g$ is the acceleration of gravity, $h$ is the height of the ramp, and $v$ is the speed of the ball. Since the mass, force of gravity, and height of the ramp does not change when you lengthen the ramp, the velocity will be the same. +
-  -  Adding a coefficient of friction could reduce the speed of the ball. This is because frictional forces resist motion. +
-  - See below +
-  -  +
-===Code=== +
-[[https://​www.glowscript.org/#/​user/​porcaro1/​folder/​REPOSITORYSTUFF/​program/​BallonRamp(TeacherVersion)/​edit ​| Link]] +
-<code Python [enable_line_numbers="​true",​ highlight_lines_extra=""​]>​+
 GlowScript 2.7 VPython GlowScript 2.7 VPython
  
  • repository/ball_on_a_ramp.1616627290.txt.gz
  • Last modified: 2021/03/24 23:08
  • by porcaro1