Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Jupyter notebook Assignments/Cannonball!/Cannonball.ipynb
Cannonball!
In this problem you are going to model the motion of a human doing a cannonball dive into a pool.
While in the air, the drag force on the person is negligible. Once in the water, however, the drag force is significant and is given by , where is the density of water, is the drag coefficient for a sphere, and is the cross-sectional area. Another force that is significant in the water but not the air is the buoyant force, which points upward and is given by , where is the density of the water and is the volume of the water that is displaced. (For the sake of simplicity, you can assume that the displaced volume is equal to the volume of the sphere even when the sphere is only partially submerged.)
Determine an expression for the velocity of a person in cannonball position as a function of time. Do this in three separate stages: falling through air, falling through water, and rising through water.
Create a VPython simulation of the motion assuming that the person drops from rest above the pool. Don't use the expression for velocity that you derived above; instead start with the expression for acceleration and update the velocity in small time steps. Since drag and the buoyant force are not important until the person hits the water, you will have to use an if/else
statement to "turn on" those forces. Have the simulation stop after 10 seconds. (Hint: The VPython functions mag
and hat
will be useful here.)
Solution
Assumptions
*The person is a point mass
*The person drops from rest above the pool
*While in the air, the drag force on the person is negligible.
*The displaced volume is equal to the volume of the sphere even when the sphere is only partially submerged.
Diagrams
Include interaction diagrams and free body diagrams with axes indicated. ![Cannonball Diagram](Cannonball Diagram.png)
Please also show force diagram for when person is in water.
Analysis
There is a third solution for when the person starts to float back up.
Check
Check special cases.
Interpretation
In this type of motion, gravity is the only force acting on the person doing the cannonball while in the air. However, once the person touches the water everything changes. Two forces are now introduced to problem. They are the buoyancy force and the drag force. They are similar because both drag and buoyant forces occur due to the pressure differences. Nonetheless, they are also different because the drag results from pressure differences arising from fluid motion. Which makes perfect sense.
Rubric
Section | Points | Max Points |
---|---|---|
Assumptions | 1 | 1 |
Diagrams | 0 | 1 |
Analysis | 2 | 3 |
Check | 0 | 1 |
Interpretation | 1 | 1 |
Code | 3 | 3 |