Homework #1

This notebook contains the first homework for this class, and is due on Sunday, January 31st, 2016 at 11:59 p.m.. Please make sure to get started early, and come by the instructors' office hours if you have any questions. Office horus and locations can be found in the course syllabus. IMPORTANT: While it's fine if you talk to other people in class about this homework - and in fact we encourage it! - you are responsible for creating the solutions for this homework on your own, and each student must submit their own homework assignment.

Some links that you may find helpful:

Your name

Put your name here!


Section 1: Carbon dioxide

Part 1. Consider this: How much carbon dioxide does a square kilometer of forest remove from the Earth's atmosphere each year? And, how does that compare to the amount of carbon dioxide that a car adds to the atmosphere each year?

Come up with a simple order-of-magnitude approximation for each of those two questions, and in the cell below this one write a paragraph or two addressing each of the two questions above. What are the factors you need to consider? What range of values might they have? In what way is your estimate limited? (Also, to add a twist: does it matter how old the trees in the forst are, or the car?)

Note: if you use a Google search or two to figure out what range of values you might want to use, include links to the relevant web page. You can either just paste the URL, or do something prettier, like this: google!. The syntax for that second one is [google!](http://google.com).

put your answer here!

Part 2. In the space below, write a Python program to model the answer to both of those questions, and keep track of the answers in a numpy array. Plot your answers to both questions in some convenient way (probably not a scatter plot - look at the matplotlib gallery for inspiration!). Do the answers you get make sense to you?


In [ ]:
# write any code you need here!  
# Create additional cells if you need them by using the 
# 'Insert' menu at the top of the browser window.

Section 2: Get the Lead Out, continued

As described in the in-class assignment on this subject, You're going to create a letter to send to the Governor's office based on the data anlysis you did in class and what you do here. Use the rest of this notebook (starting with the "Your Document to the Governor's Office") to write that letter. Consider this core question:

Did water lead levels exceed the EPA's action limits? And if they did, how can we understand how badly it exceeded the limits?

Your document should be about 3-4 paragraphs long. You're encouraged to use code and results from your in-class work in your document. And, your should do the following:

  1. State your position on whether lead levels exceeded EPA limits. Make it clear what your investigation found.
  2. Justify your position with graphics and written analysis to explain why you think what you think.
  3. Consider counterarguments. Could someone try to use the same data to arrive at a different conclusion than yours? If they could, explain why you think that position is flawed.

Remember: This is real data. So,

  • The conclusions you draw matter. These are Flint resident's actual living conditions.
  • You may find other results online, but you still have to do your own analysis to decide whether you agree with their results.
  • Any numerical conclusions you draw should be backed up by your code. If you say the average lead level was below EPA limits, you'll need to be able to back up that claim in your notebook either with graphical evidence or numerical evidence (calculations).

Your Letter to the Governor's Office


In [ ]:
# Create any Python and Markdown cells you need
# to write your letter, do calculations, and make figures
# You can add more cells using the 'Insert' menu

# Note: you do not actually have to send this letter, but you can if you want!

Section 3: Feedback (required!)

How far did you get on this in class?

// Write your answer here

How long did you spend on the homework?

// Write your answer here

What questions do you have after this assignment?

// Write your answer here


Congratulations, you're done!

How to submit this assignment

Log into the course Desire2Learn website (d2l.msu.edu) and go to the "Homework assignments" folder. There will be a dropbox labeled "Homework 1". Upload this notebook there.