Problem Set 4#
CBE 60258, University of Notre Dame. © Prof. Alexander Dowling, 2023
You may not distribution the solutions without written permissions from Prof. Alexander Dowling.
Your Name and Email:
Import Libraries#
import math
import numpy as np
import matplotlib.pyplot as plt
1. Measuring Acceleration Two Ways#
You and a classmate want to measure the acceleration of a cart rolling down an incline plane, but disagree on the best approach. The cart starts at rest and travels distance \(l = 1.0\) m. The location of the finish line is measured with negligible uncertainty. You (student 1) measure the instantaneous velocity \(v = 3.2 \pm 0.1 \) m/s at the finish line. Your classmate (student 2) instead measures the elapsed time \(t = 0.63 \pm 0.01\)s.
1a. Approach 1#
Calculate the acceleration for approach 1,
and estimate the associated uncertainty. Round your answer to the correct number of significant digits and store your answers in variables A1
for acceleration and U_A1
for the uncertainty.
# Add your solution here
# Removed autograder test. You may delete this cell.
1b. Approach 2#
Calculate the acceleration for approach 2,
and estimate the associated uncertainty. Round your answer to the correct number of significant digits and store your answers in variables A2
for acceleration and U_A2
for the uncertainty.
# Add your solution here
# Removed autograder test. You may delete this cell.
1c. Weighted Average#
A third classmate suggests to use a weighted average of your two calculations:
where \(0 \leq w \leq 1\) is the weight you place on the approach 1 calculation calculations. Determine the value of \(w\) that minimizes the uncertainty in \(a_3\). Do the following steps:
Make a plot to graphically determine this value of \(w\) and from the plot, read the minimum value for \(w\) and save it as the variable
weight
. Submit your plot via Gradescope.Then calculate the acceleration and uncertainty from the above equation. Round your answer for acceleration and corresponding uncertainty to the correct number of significant digits and store your answers in variables
A3
for acceleration andU_A3
for the uncertainty.
# Add your solution here
print("weight =",weight)
print("A3 =",A3)
print("U_A3 =",U_A3)
# Removed autograder test. You may delete this cell.
1d. Analysis#
Write one or two sentences (each) to answer the following questions:
If restricted to use only \(a_1\) or \(a_2\), which would you choose? Why?
How can a weighted average reduce the uncertainty? Why does this make sense?
Why does the uncertainty in \(a_3\) depend on \(w\)?
Record your answers below.
Q1:
Q2:
Q3:
2. Calorimetry for Food Analysis#
As an intern at Tasty Foods, Inc., you are asked to estimate the caloric content (kilo-calories per gram) of mayo: You burn a \(0.40 \pm 0.01\) gram sample of mayo in a calorimeter and measure a 2.75 \(\pm\) 0.02 \(^\circ{}\)C temperature increase. You then calculate caloric content \(C\):
where \(c = 0.2390\) kcal/kJ is a conversion factor. Assume the calorimeter heat capacity \(H = 4.0\) kJ/\(^\circ{}\) C is known with negligible uncertainty.
# Add your solution here
# Removed autograder test. You may delete this cell.
2b. Relative Uncertainty#
Find the relative uncertainty in \(C\) by doing the following:
Set \(\sigma_m = 0.01 m\) and \(\sigma_{\Delta T} = 0\) and recalculate \(\sigma_C\). This tells us the impact of 1% uncertainty in \(m\). Store your answer as variable
U_C_mass
.Set \(\sigma_m = 0\) and \(\sigma_{\Delta T} = 0.01 \Delta T\) and recalculate \(\sigma_C\). This tells us the impact of 1% uncertainty in \(\Delta T\). Store your answer as variable
U_C_temperature
.
Hint: Use the \(m\) and \(\Delta T\) data reported above.
Remember to store your answer using the correct number of significant digits.
# Add your solution here
# Removed autograder test. You may delete this cell.
2c. Which is better?#
Which would provide a greater reduction in \(\sigma_C\): i) reducing the uncertainty in \(m\) to 0.005 g OR ii) reducing the uncertainty in \(\Delta T\) to 0.001 \(^\circ{}\)C? Do the following steps:
Calculate the uncertainty for each scenario, storing your variables as i)
Reduce_mass
and ii)Reduce_temperature
.After determining which method would provide a greater reduction in \(\sigma_C\), set the variable
method
equal to either 1, for reducing the uncertainty in mass, or 2, for reducing the uncertainty in temperature, to save which method you found would more significantly reduce \(\sigma_C\).
Remember to use the correct number of significant digits.
# Add your solution here
# Removed autograder test. You may delete this cell.