12.4. Car and Incline Example#
12.4.1. Learning Objectives#
After studying this notebook, attending class, asking questions, and reviewing your notes, you should be able to:
Find the uncertainty associated with calculations, use a weighted average to increase the accuracy.
import math
import numpy as np
import matplotlib.pyplot as plt
import scipy.stats as stats
from scipy import optimize
12.4.2. 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.
12.4.3. Approach 1#
Calculate the acceleration for approach 1,
and estimate the associated uncertainty. Round your answer to 2 decimal points 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.
12.4.4. 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.
12.4.5. 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
.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
# Removed autograder test. You may delete this cell.
12.4.5.1. 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\)?
Q1:
Q2:
Q3: