Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
repository:block_on_a_ramp [2020/02/17 02:20] porcaro1 [Answer Key] |
repository:block_on_a_ramp [2021/02/16 23:57] porcaro1 [Activity] |
||
---|---|---|---|
Line 21: | Line 21: | ||
====Activity==== | ====Activity==== | ||
===Handout=== | ===Handout=== | ||
- | ==Block on a Ramp== | + | {{ :repository:block_on_a_ramp.png?nolink&600|}} |
- | **Part 1** \\ | + | **Block on a Ramp** |
+ | ==Part 1== | ||
We’ve used forces to predict the motion of objects on level surfaces. What happens when the object is on a ramp? [[http://www.glowscript.org/#/user/KLHamilt/folder/Public/program/2DMotionBlockOnRamp | Click here]] to open the code for a model of a block on a ramp. Copy and paste the code into your own Glowscript program. | We’ve used forces to predict the motion of objects on level surfaces. What happens when the object is on a ramp? [[http://www.glowscript.org/#/user/KLHamilt/folder/Public/program/2DMotionBlockOnRamp | Click here]] to open the code for a model of a block on a ramp. Copy and paste the code into your own Glowscript program. | ||
- What is the angle of the ramp? | - What is the angle of the ramp? | ||
Line 30: | Line 31: | ||
- What are the components of the net force vector? | - What are the components of the net force vector? | ||
- What are the components of the acceleration vector for the block? Where does the acceleration of the block show up within the code? | - What are the components of the acceleration vector for the block? Where does the acceleration of the block show up within the code? | ||
- | **Part 2** \\ | + | ==Part 2== \\ |
Observe and explain what happens when you change physical features of the ramp and block. | Observe and explain what happens when you change physical features of the ramp and block. | ||
- What happens to the net force as the block slides down the ramp? How do you know? | - What happens to the net force as the block slides down the ramp? How do you know? | ||
- What happens if you increase the angle of the ramp? Why does that happen? | - What happens if you increase the angle of the ramp? Why does that happen? | ||
- What happens to the motion of the block if you increase the mass? How can you be sure? | - What happens to the motion of the block if you increase the mass? How can you be sure? | ||
- | **Part 3** \\ | + | ==Part 3== \\ |
The simulation currently shows a block sliding down a frictionless ramp. | The simulation currently shows a block sliding down a frictionless ramp. | ||
- | - Modify the code so that the ramp now has a coefficient of friction equal to 0.3 | + | - Modify the code so that the ramp now has a coefficient of friction equal to 0.3. Then create and label an arrow to represent the frictional force acting on the block |
- | - Create and label an arrow to represent the frictional force acting on the block | + | - Challenge: create a model including static friction |
===Code=== | ===Code=== | ||
Line 164: | Line 165: | ||
**Part 3** \\ | **Part 3** \\ | ||
- | - See below (line BLANK) | + | - See highlighted lines below |
- | - See below (line BLANK) | + | - Lines 66, 74, 75, 80, 83, 95, & 98 |
+ | - [[http://www.glowscript.org/#/user/KLHamilt/folder/Private/program/2dMotionBlockOnRampWithFrictionFull | Code with static friction]] | ||
===Code=== | ===Code=== | ||
[[https://www.glowscript.org/#/user/KLHamilt/folder/Public/program/2DMotionBlockOnRampWithFrictionBasic | Link]] | [[https://www.glowscript.org/#/user/KLHamilt/folder/Public/program/2DMotionBlockOnRampWithFrictionBasic | Link]] | ||
- | <code Python [enable_line_numbers="true"]> | + | <code Python [enable_line_numbers="true", highlight_lines_extra="66,74,75,80,83,95,98"]> |
GlowScript 2.7 VPython | GlowScript 2.7 VPython | ||
Line 236: | Line 238: | ||
vblock = vector(0, 0, 0) | vblock = vector(0, 0, 0) | ||
g = vector(0,-9.8,0) | g = vector(0,-9.8,0) | ||
- | cof = 0.3 | + | cof = 0.3 #coefficient of friction# |
t = 0 | t = 0 | ||
tf = 5 | tf = 5 | ||
Line 273: | Line 275: | ||
t = t + dt </code> | t = t + dt </code> | ||
+ | ---- | ||
+ | ====See Also=== | ||
+ | *[[ball_on_a_ramp | Ball on a Ramp]] | ||