Question: ( Taylor 1 9 9 7 , pp . 1 8 2 - 8 , or Barford 1 9 8 5 , Section 3 .
Taylor pp or Barford Section The results are:
and
with the error in the intercept,
and the error in the gradient,
where
and the socalled common uncertainty is defined as
Suppose that measurements are made of an objectlensimage system which should follow
rearranging this gives
which means that a graph of vs should have a slope of and a yintercept of
Complete the code cell below to calculate the best fit slope and yintercept as well as their uncertainties for an objectlensthe equations on page Report your answer including units if applicable to the correct number of digits.
import numpy as np
# Object and image distances and uncertainties
array # meters
punc np array # meters
array # meters
qunc nparray of meters
# Define and values
# Calculate the uncertainty in and using the calculus method
xerr npsqrt dxdqqunc
# Fill in code to calculate the uncertainty in and assign to a
# variable called yerr
# Calculate the best fit slope and intercept using the equations
# on pg of Huges & Hase
# Fill in the code to perform these calculations. I
# Print the results to the screen printSlope : luB: format m alpham
print yint : luB: format alphac
# Modify the print commands to display the correct number of digits.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
