Purpose:

In the previous Jupyter labs you have hopefully generated a tiny bit of comfort with setting up and debugging some code. This includes implementing calculations and algorithms and working with arrays and basic interative processes. All of those tools will be needed to execute this final class assignment. We always avoided talking about air drag because it's pretty complex and is non-linear to boot. With numerical methods you can do this.

Since you have all had your project proposals approved this is also the week we need to get that simplest model that you described to me implemented. This will involve a strong emphasis on the documentation and descriptive part of your project (think markdown language) along with the actual initial simplified model of your project setting.

While this week will take some time remember this is the last lab that isn't totally about your project.

Thanks in advance.....

Process:  

We will start this exploration by going through a notebook called VerticalDrag that you can download from the Jupyter files webpage. Ideally you will have already done so and are following along. In this lab I will illustrate how to include air drag in a 1D problem and plot out the results. Your task will be to apply this method to the 2D problem of the projectile that you did in the previous lab.

It is my expectation that your previous lab on iteration is a great starting point for this weeks lab:

I: Standards: Follow all the same standards that we have established from previous labs regarding markdown cells and code cells. The code should be broken down into reasonable sections like those requested previously: Dependencies, Setting up variables, Enter initial conditions, interative model, and plotted output that makes sense.

II: Debug: Especially in your interative calculation I will be looking to see that you created some helpful debugging tools that are still present though commented out. I will look to see some discussion of your output and why you believe it makes sense.

III: Plot: Plot the trajectory of the ball with air drag. If I were going to push it I would require you to show the trajectory of the ball with AND without drag on the same plot.If you don't do this you will need to describe how your result in this lab compares to the previous lab with no air drag.

IV: Determine: For a given initial velocity what is the angle (in degrees) that gives maximum range for a ball WITH air drag. Figure this out by trying different value in your notebook until you narrow it down.

V: Project Explanation: Take plenty of time and space to describe your project in (after a title section of course) in some detail including the mathematical tools you believe you will need. Include a clear description of the 'simple' model that you will be attempting to implement in this lab with all mathematics and variables.

VI: Project Simple: Implement your 'simple' model adhering to all the standards for good notebook practices that we have been using throughout this term.

Project Deliverables:

1) Submit a pdf of your notebook that shows all aspects of your drag model for a physics rock flying through the air. Answers to the questions asked above should be embedded in the notebook in markdown cells.

2) Submit a separate pdf of your first project notebook. There will be a separate Turnitin folder for this purpose.