




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





Undergraduate Labs
Titles should tell the reader exactly what is graphed Remove stray lines, legends, points, and any other unintended additions by the computer that does not add to your graph. Axes should be labeled clearly and include the units and scale markings The scales should be chosen such that the data covers most of the area of the graph. The origin ሺ0,0ሻ^ is oftentimes included, but not always. Include error bars when appropriate, especially when fitting curves to the data.
Bad Graph
Label without units
Way too many tick markings Tick markings too small to read
No title
Data only fills up small part of graph Choose a better vertical scale
Undergraduate Labs
Good Graph
Scales appropriately chosen so that data can be seen clearly
All labels are easy to read
A reasonable amount of tick marks displayed
Undergraduate Labs
Example
This is a linear fit of a data set with error bars in both ݔ and ݕ. The error in ݔ is constant, the error in ݕ varies (see data table below).
Table 1: Data Set for Example Graph X (units) X error (±) (units) Y (units) Y error (±) (units) 0.00 0.20 0.70 0. 0.10 0.20 1.30 0. 0.20 0.20 2.66 0. 0.30 0.20 3.40 0. 0.40 0.20 4.26 0. 0.50 0.20 5.20 0. 0.60 0.20 6.34 0. 0.70 0.20 7.04 0. 0.80 0.20 8.62 0. 0.90 0.20 9.52 0.
y = 9.8352x + 0. R^2 = 0.
0
2
4
6
8
10
12
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 X axis label (X units)
Y axis label (Y units)
Undergraduate Labs
Real Data
Real life data sets often display several types of behavior that may make your data not look “perfect”. For example, if you measure the period of a simple pendulum over a long period of time, you will not observe a perfect fit to ܶ ߨ2 ൌ (^) ݃/݈ඥ. For small oscillations over a short period of time you can recover the equation. Over long periods of time the pendulum’s oscillations will decrease in amplitude due to friction at the pivot and air resistance, and you may observe an exponential decay envelope on top of the sinusoidal behavior.
Finding the “best line” and the uncertainty in the slope
The figure to the right shows the "best" (dark line) or most representative straight line that fits the data points as well as two other (red) lines. Approximately the same number of points lie above and below the best line. The best line is used to find the slope and the intercept.
The two red lines might represent the data nearly as well as the best line. One red line has the largest plausible slope and one has the smallest. The largest slope line can be constructed by drawing a line which goes between a point below the best fit line on the left side of the graph and a point above the best fit line on the right side of the graph. The smallest slope line can be constructed by drawing a line which goes between a point above the best fit line on the left side of the graph and between a point below the best fit line on the right side of the graph. The differences between the slopes and intercepts of these lines yields the uncertainties in the slope and intercept.
Finding the Uncertainty in the Slope
The figure to the right illustrates the method used for finding the uncertainty in the slope of the best line.
The dashed lines define the slope triangle of the best fit line. The vertical height of the slope triangle is called the “rise” and the horizontal width is called the “run”. The slope is given by “rise/run.” Please note that the slope triangle is for the best fit line and not for individual data points.
Finding the “best fit”
Finding uncertainty in slope
Undergraduate Labs
A linear relation has the form ܾ ݔ ݉ൌ ݕ , which is useful for showing direct relationships such as ܽ݉ൌ ܨ and ܸ ܴܫ ൌ. A graph of the force of gravity on the ݕ‐axis and mass on the ݔ‐axis would yield a line with a slope equal to the acceleration due to gravity. A graph of voltage vs. current would give a value for resistance. This is very good stuff!
What about equations which are non‐linear? How could a least squares fit help with that? The trick is to linearize your data and then apply a least squares fit.
Consider the two graphs below, which both deal with the equation ݔ ܽൌ ݕ ଶ. The left graph ݕ vs. ݔ is plotted directly, which yields a parabola. In the graph on the right we have linearized the function and plotted ݕ vs. ݔ ଶ, which yields a line with slope ܽ. The difference between the two graphs is that in graph A ݔ is treated as the independent variable and in graph B ݔ ଶ^ is treated as the independent variable. ݔ does not always have to be the independent variable; think of plotting ݕ vs. a new variable ݑ, where ݔ ൌ ݑ ଶ.
Examples of linearizing equations
We would like to perform a measurement that would enable us to graph the charge‐to‐mass ratio of the electron ݁ ݉/ , just like Sir J.J. Thompson did in 1897. Consider electrons being accelerated by a uniform electric field to a speed ݒ. Let ܸ be the voltage difference between the starting and endpoints. The electrons then pass through a uniform magnetic field ܤ perpendicular to their motion. This causes the electrons to undergo uniform circular motion.
Combining the equations ଵ݉ଶ ݒ ଶ^ ܸ݁ൌ and ݁ ൌ ܤݒ ௩^
మ we^ can^ obtain^ the^ relation
݁ ݉ൌ ܤ (^) ݎඨ
(A) ࢟ vs. ࢞ of the quadratic function ࢟ ࢞ࢇ ൌ
(B) ࢟ vs. ࢞ ^ yields a linear relation with slope ࢇ.
Undergraduate Labs
In order to obtain the desired graph, we want the charge as a linear function of the mass. This means that we want to write ݁ ݉ܭ ൌ where ܭ is a known value from our experimental setup. We can accomplish this by the following steps:
This rearrangement involved only simple algebra! The final equation gives the charge as a linear function of mass. If we can measure the voltage ܸ , the magnetic field ܤ and the radius ݎ, we can calculate the charge‐to‐mass ratio.
The period of a pendulum is given by ܶ ߨ2 ൌ ݃/݈ඥ. In lab we only measure the period and the length of the pendulum, but we want a linear graph. What to do? Squaring both sides of the equation gives ܶ ଶ^ ߨ4 ൌ ݈ଶ^ ݃/. This yields a linear graph with slope ߨ4 ଶ^ ݃/ if we plot ܶ ଶ^ vs. ݈.
Torricelli’s law says that a tall column of liquid with a small hole at the bottom will have water flowing out of the hole with a velocity ݄݃ൌ ඥ2 ݒ. In lab we will measure ݒ, the velocity of the water, and ݄ , the height of the column. If we graph ݒ vs. ݄ , we won’t get a straight line. However, if we graph ݒ vs. ݄√ , we’ll get a line with a slope of ݃ඥ2 and an intercept of zero.
In these examples we took a non‐linear relationship and found a way to rearrange it as a linear relationship. The key to manipulating an equation to get a linear relationship is to understand what you must treat as the independent and dependent variables. This is a skill that improves with practice, but it is certainly worth the time it takes to learn!