Question
Step 1 Gather ten of the biggest and heaviest books that you have in your home. (You can substitute book-sized, boxshaped heavy objects if necessary;
Step 1 Gather ten of the biggest and heaviest books that you have in your home. (You can substitute book-sized, boxshaped heavy objects if necessary; for example, if you assemble seven heavy books, you can include three boxes of magazines or newspapers, or three boxes of rice or pasta.) The full stack of ten books should be the size of a big armload - hefty, but you should be able to lift them all at once. Take a well-lit, well-focused photo of these ten books.
Step 2 Assign each book a number, and then using a ruler, measure its length, width, and height in centimeters. If your ruler is in inches, convert each measurement into centimeters (1.00 in = 2.54 cm). Then compute the volume (length x width x height) of each book. Round your answers to the nearest cubic centimeter. As you gather the data, hand write a data table with columns for each book's name, the number you've assigned it, and the dimensions of the book that you measured. In the end, it will look something like this: BookName Book# Length Width Height Volume MobyDick 1 20 cm 10 cm 6 cm 1200 cc Candide 2 15 cm 14 cm 8 cm 1680 cc TheIliad 3 12 cm 13 cm 9 cm 1404 cc Ulysses 4 11 cm 11 cm 11 cm 1331 cc ... ...and so on. YOU MUST INCLUDE THE CORRECT UNITS IN YOUR TABLE. Take a well-lit, well-focused photo of your ruler measuring the length of your Book #10. Also, take a readable photo of this HANDWRITTEN table. Typed tables will not earn credit.
Step 3 Measure the weight of Book #1 by itself. Then measure the weight of Books #1 and #2 together. Then measure the weight of Books #1, #2, and #3 together. Continue to measure the cumulative weight of all the books. As you gather the data, manually create a second data table that lists the cumulative volume and weight of the books from 1 to 1-10. (Use the volumes that you calculated for each book listed on the first data table to calculate the cumulative volume values.) Then add a column converting weight in pounds to mass in grams (1 lb = 454 g). Round your answers to the nearest 100 grams. Your data table will look something like this: Book# Cumulative Volume Cumulative Weight Cumulative Mass 1 1200 cc 2.0 lb 900 g 1-2 2880 cc 3.5 lb 1600 g 1-3 4284 cc 5.5 lb 2500 g 1-4 5615 cc 7.0 lb 3200 g ... ...and so on. Again, you must INCLUDE THE CORRECT UNITS. Take a well-lit, well-focused photo of the scale you're using, while weighing all the books 1-10 together. Also, take a readable photo of this HANDWRITTEN table. Typed tables will not earn credit.
Step 4 Use the code from Lab Exercise 3 that starts with "import matploblib.pyplot as plt" and ends with "plt.show()" at the webpage https://trinket.io/python3 and make sure it's working. (Attached at the end of this lab exercise is an appendix with this code.)
Step 5 Edit the code as follows (use the same methods that you used in Lab Exercise 03) - - the name of the array m_data should be changed to c_volume - the name of the array F_data should be changed to c_mass - the xlabel should be changed to Cumulative volume in cc - the ylabel should be changed to Cumulative mass in g - the title of the graph should be changed to your full name and the last FOUR digits of your student ID number (for example, Terry Smith 7342) Now run the code and take a screen cap of the result.
Step 6 Now edit the c_volume array so it has the ten values of the 2nd column (Cumulative Volume) of your second data table. Now edit the c_mass array so it has the ten values of the 4th column (Cumulative Mass) of your second data table. Now edit the plt.scatter function on line 8 to plot the two new arrays as follows: plt.scatter(c_volume,c_mass) Now run the code and take a screen cap of the result.
Step 7 Using the methods of Part 3 of Lab Exercise 03, edit the code as necessary to find a best-fit line for these ten data points. You can keep the names of the variables m_fit and F_fit or you can change them - it's your choice. When you have found a line that you feel is a good best-fit line, take a screen cap of the result.
Step 8 - Paste the pictures from Steps 1, 2, 3, 5, 6, and 7 into this document. Be sure to put a blank line between each picture and label each picture with its Step number. Feel free to add additional captions or clarifying information in the document. Then paste your python code into the document. Next, in a brief 40 word paragraph, calculate the slope (rise-over-run) of your best-fit line, and answer this question: The slope of this line represents a quantity with units of grams per cubic centimeter (g/cc). It should be the average density of these books! What common material has a similar density to these books, and where did you get that density information? Next, answer these questions: What advantages, if any, do you think there were in graphing the cumulative volumes and masses of the books rather than just graphing the individual volumes and masses of the books? What disadvantages, if any, do you think there were in doing that? Based on how well your best-fit line fits the data points, how similar do you think the densities of the books are to one another? Why do you think this is the case? ________________________________________________________
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started