Professional Documents
Culture Documents
Measurement Techniques - Lesson02
Measurement Techniques - Lesson02
Lecture Notes
Significant Digits
Rounding Off
Error Analysis
Uncertainty Analysis
Statistical Analysis
•Statistical Analysis of Experimental Data
•Probability Distributions
•Histograms
Engineering measurements are generally accurate to at most only a few digits. Three
(sometimes four) digits of accuracy are considered “standard” for engineering analysis.
The number of significant digits is defined as the number of relevant or useful digits in a
measurement.
The best way to illustrate is to write the number in standard exponential (scientific) notation
instead of common real number (engineering) notation, and then count the number of
digits.
0.0056 0.0056 5.6 × 10-3 2 the leading zeroes are not significant
the leading zeroes are not significant, but any zeroes
0.00506 0.00506 5.06 × 10-3 3
between two numbers are significant
the leading zeroes are not significant, but the trailing
0.00560 0.00560 5.60 × 10-3 3
zeroes are significant
Significant Digits
Things become somewhat difficult and ambiguous when dealing with large numbers. For
example, suppose someone reports the population of a large city as 3,485,000, and says
nothing about significant digits.
One way around this ambiguity is to underline the least significant digit.
In our population example, if the population were rounded to the nearest thousand, we
would write 3,485,000 since the first zero is not significant.
If the population were rounded to the nearest 100, we would write 3,485,000 since the first
zero is significant, and so on.
Significant digits
When performing multiplication or division calculations, the answer has the same number of
significant digits as the component with the least number of significant digits.
Example:
Given: A force of 4.210 N is measured, and it is applied to a mass of 2.23 kg so as to
accelerate this mass.
To do: Calculate the acceleration.
Solution: Use Newton's second law, i.e. F = ma, and solve for the acceleration:
4.210 kg∙m/s
1.88789 m/s The answer we report is:
2.23 kg
Note some important points in this simple example:
1.89 m/s
The final answer is reported to only three significant digits, since m is precise to only 3
significant digits, and 3 < 4, where F is precise to 4 significant digits. The answer is not
1.88789238, even though that is what the calculator shows! All the digits following the first
three are meaningless.
However, it is good to write down the answer to several additional significant digits, as
above, if this value is to be used in subsequent calculations. Failure to do so can result in
round-off error.
Significant digits
Scientific method is something really sweet
Collecting lots of data can make your life complete
Significant Digits – song – YouTube Analyzing data means you get to make a graph
Before you reach conclusions you might need to do some math!
If you add two numbers up, dont sit there looking tense
Lets say ones to the hundredths place, the other to the tenths
3.25 plus 3.3 gives us 6.55
Now its time to round it off, and still get out alive!
There are standard rules for rounding off values to a desired number of significant digits.
First, the number is truncated to its desired length. Then, the excess (leftover) digits are
examined as if they were a decimal fraction:
If the decimal fraction is less than 0.5, truncate the excess digits.
If the decimal fraction is greater than 0.5, round up the least significant digit in the
number by one.
If the decimal fraction is exactly 0.5, the convention is to round up if the least significant
digit is odd, and to truncate (round down) if the least significant digit is even. [Note: The
digit zero is even.]
Here is a little trick to remember this, courtesy of Steve Galamba: Either way, you get an
even digit!
Examples:
Round 548,392 to three significant digits. Answer: 548,000 [round down].
Round 548,592 to three significant digits. Answer: 549,000 [round up].
Round 548,500 to three significant digits. Answer: 548,000 [round down since 8 is even].
Round 547,500 to three significant digits. Answer: 548,000 [round up since 7 is odd].
Rounding Off
Things become a little tricky when adding or subtracting numbers. For example, suppose the population
of a large city is 3,485,000, rounded to the nearest thousand (3.485 × 106 or 3,485,000; 4 significant
digits). If 12 people move into the city, what is the new population?
We are tempted to say 3,485,000 + 12 = 3,485,012, but this implies 7 significant digits of precision.
Actually, since we cannot have fractions of people, it implies infinite precision, i.e., an integer
number. The correct answer is 3,485,000, since the 12 extra people do not change the population
to the nearest thousand – we round off.
Suppose 1,862 people move to the city. The new population is 3,485,000 + 1,862 = 3,486,862
rounded off to the nearest thousand to maintain the original number of significant digits, i.e.,
3,487,000.
When performing addition or subtraction, the number of significant digits is determined by the leftmost
decimal column that contains a least significant digit. The best way to add or subtract numbers is to align
the decimal point, and highlight the leftmost significant digit. For example, here is how to add 13.68 +
0.08672:
13.68
+ 0.08672
13.76672
We highlight the fourth column from the left, since it contains the leftmost least significant digit. After
rounding up, our final answer is therefore 13.77, precise to four significant digits.
Rounding Off
When adding or subtracting numbers, it is possible for the result to have a greater number of
significant digits than any of the component numbers. For example, 5.86 + 7.21 = 13.07 [result
precise to four significant digits]. This is useful when calculating mean (average) values of a
measurement sample.
7.53, 8.76, 7.42, 8.15, 7.79, 7.88, 7.91, 8.24, 8.13, 7.74, 7.80, and 8.06.
The average is calculated by adding up all the numbers and dividing by 12. The sum is 95.41
(four significant digits). Calculation of the average yields 95.41/12 = 7.950833333.
However, we must round to a maximum of four significant digits because of the division. Here,
although each data point is precise to only 3 significant digits, our final answer is 7.951
(rounded to four significant digits). However, as mentioned previously, if we need to use this
average in further calculations, we should carry along a few more digits to avoid potential
round-off errors.
Note: Some argue that an average cannot have more significant digits than its components. They
would say that the correct final answer to the above example is 7.95 (rounded to three significant
digits). There is some support for this alternative answer here since there is so much scatter in
the original data.
Importance of Error Band
For an infant, two measurements of body temperature before and after a drug is
administered:
Is the temperature drop significant? Or in other words: does the drug have an
effect on the change in the temperature?
(38.2 0.01)C and (38.4 0.01)C significant, the drug possibly had
an effect on the temperature drop
True Value
When using scientific notation, quote value and error with the same exponent
Examples:
Value 44, error 5 44 5
Value 128, error 32 130 30
Value 4.8×10-3, error 7×10-4 (4.8 0.7)×10-3
Value 1092, error 56 1090 60
Value 1092, error 14 1092 14
Value 12.345, error 0.35 12.3 0.4
We are interested in knowing the uncertainty in the final result due to the uncertainties in
the primary measurements.
The nominal value of power is 100 × 10 = 1000 W. By taking the worst variations in voltage
and current, we could calculate:
Thus, using this method of calculation, the uncertainty in the power is +4.04%, -3.96%.
Error Analysis
When the plus or minus sign notation is used to designate the uncertainty, the person making
this designation is stating the degree of accuracy with which he or she believes the
measurement has been made. We may note that this specification is in itself uncertain because
the experimenter is naturally uncertain about the accuracy of these measurements.
In other words, the experimenter is willing to bet with 20 to 1 odds that the pressure
measurement is within ±1 kPa.
We wish to estimate the uncertainty in the calculated result on the basis of the uncertainties in
the primary measurements. The result R is a given function of the independent variables x1, x2,
x3, ..., xn. Thus,
R = R (x1, x2, x3, ..., xn)
Let wR be the uncertainty in the result and w1, w2, ..., wn be the uncertainties in the independent
variables. If the uncertainties in the independent variables are all given with the same odds, then
the uncertainty in the result having these odds is given as:
Uncertainty Analysis
2 1/ 2
R R
2 2
R
wR w1 w2 wn
x1 x2 xn
EXAMPLE:
The resistance of a certain size of copper wire is given as:
R R0 1 (T 20)
SOLUTION:
The nominal resistance is:
R 6 1 (0.004)(30 20) 6.24
R
1 (T 20) 1 (0.004)(30 20) 1.04 wR0 (6)(0.003) 0.018
R0
R
R0 (T 20) (6)(30 20) 60 w (0.004)(0.01) 4 10 5 C 1
R
R0 (6)(0.004) 0.024 wT 1 C
T
Thus, the uncertainty in the resistance is:
wR (1.04) 2 (0.018) 2 (60) 2 (4 10 5 ) 2 (0.024) 2 (1) 2 1/ 2
wR 0.0304 or 0.49%
Uncertainty Analysis
IMPORTANT REMARKS:
• This means that if the uncertainty in one variable is significantly larger than
the uncertainties in the other variables, say by a factor of 5 or 10, then it is
the largest uncertainty that predominates and the others may probably be
neglected.
In many cases data reduction is a rather complicated affair and is often performed with a
computer routine written specifically for the task.
Suppose a set of data is collected in the variables x1, x2, ..., xn and a result is calculated. At the
same time one may perturb the variables by ∆x1, ∆x2, etc., and calculate new results. We would
have
R( x2 ) R ( x1 , x2 ,, xn )
R ( x2 x2 ) R ( x1 , x2 x2 ,, xn )
R ( R0 R0 ) 6.2504 R R
1.04 1.04 wR0 0.018
R0 R0
R R
R ( ) 6.2406 60 60 w 4 10 5 C 1
R R
R (T T ) 6.2424 0.024 0.024 wT 1 C
T T
All the derivatives are the same as in the previous example, so the uncertainty in R would be
the same, or 0.0304 Ω.
Uncertainty Analysis
REMARKS:
For example,
Many people's first introduction to this shape is the grade distribution for a
course.
http://www.youtube.com/watch?v=xDIyAOBa_yU&NR=1
Statistical Analysis
Statistical Analysis
Statistical Analysis
di xi xm
We may note that the average of the deviations of all readings is zero since::
1 n 1 n
di di ( xi xm )
n i 1 n i 1
1
xm (nxm ) 0
n
Statistical Analysis
1 n 1 n
di di xi xm p(x)
n i1 n i1
Note that this quantity is not necessarily zero.
There are other kinds of mean values of interest from time to time in statistical analysis.
The median is the value that divides the data points in half.
For example, if measurements made on five production resistors give 10, 12, 13, 14, and
15 kΩ, the median value would be 13 kΩ. The arithmetic mean, however, would be
10 12 13 14 15
Rm 12.8
5
Statistical Analysis
EXAMPLE:
The following readings are taken of a certain physical length.
Compute the mean reading, standard deviation, variance, and average of the absolute
value of the deviation, using the “biased” basis.
Calculate also the best estimate of standard deviation for the same data based on the
“sample” or unbiased basis.
reading x, cm
1 5.30
2 5.73
3 6.77
4 5.26
5 4.33
6 5.45
7 6.09
8 5.64
9 5.81
10 5.75
Statistical Analysis
SOLUTION:
1 n 1
The arithmetic mean xm xi (56.13) 5.613 cm
n i 1 10
1/ 2 1/ 2
1 n
1
( xi xm ) 2 (3.533) 0.5944 cm
n i 1 10
x x+x xm x
Also, we would expect fewer and fewer tosses for those x distances which are farther and
farther away from the target. For a good player the maximum probability is expected to
surround the distance xm designating the position of the target.
The curve shown is called a probability distribution. Each value of the ordinate p(x) gives
the probability that the horseshoe will land between x and x+∆x, where ∆x is allowed to
approach zero.
Statistical Analysis
HISTOGRAMS
Distance from Number of
Target, cm Throws
We have noted that a probability distribution is
obtained when we observe frequency of occurrence 0-10 5
over a large number of observations. When a 10-20 15
limited number of observations is made and the raw 20-30 13
data is plotted, we call the plot a histogram. 30-40 11
40-50 9
EXAMPLE: 50-60 8
60-70 10
These data are plotted using increments of either 70-80 6
10cm or 20cm in ∆x and the plots are shown on the 80-90 7
next page. A cumulative frequency diagram could 90-100 5
also be employed for these data. The resulting 100-110 5
curve is given on the following page. 110-120 3
>120 2
Total 99
Statistical Analysis
30
20
10
Number of throws
0
0-20 20-40 40-60 60-80 80-100 100-120 >120
15
10
5
Number of throws
1.00
0.90
0.80
0.70
0.60
0.50
Fraction of throws less than x
0.40
0.30
0.20
0.10
0.00
0 20 40 60 80 100 120 140
p( x)dx 1.0
Gauss Distribution – Bell Curve
At this point we may note the similarity between the shape of the normal error curve and
the experimental distribution for tossing horseshoes. The better the player is at the game,
the more closely the throws will be grouped around the mean and the more probable will
be the distance xm.
Here are some of the properties of
this special distribution:
We may quickly anticipate the next step in the analysis as one of trying to determine the
precision of a set of experimental measurements through an application of normal error
distribution. For sets of data where a large number of measurements is taken,
experiments indicate that the measurements do indeed follow normal error distribution
when the experiment is under control.
1 ( x xm ) 2 / 2 2
p( x) e
2
By inspection of the gaussian distribution function, we see that the maximum probability
occurs at x = xm, and the value of this probability is
1
p ( xm )
2
Gauss Distribution – Bell Curve
The probability that a measurement will fall within a certain range x1 of the mean reading is
xm x1
1
P( x) e ( x xm ) 2 / 2 2
dx
xm x1 2
1
x xm 1
e
2 / 2
P ( ) d
2 1
1
1 P
e
2 / 2
Values of the integral d are given for different values of the
2 0
2
argument η1. The values are related to error function since
1
1
e
2
erf 1 d
1
1
So that the tabular values are equal to erf( 1 2 ) . Each figure in the body of
2
the table is preceded by a decimal point.
Gauss Distribution – Bell Curve
EXAMPLE:
Calculate the probabilities that a measurement will fall within one, two and three
standard deviations of the mean value.
SOLUTION:
We perform the calculation with η = 1, 2, and 3. The values of the integral may be
obtained from Table-2. We observe that
1 1
e d 2 e
2
/ 2 2 / 2
d
1 0
so that
P (1) 2 0.34134 0.6827
P (2) 2 0.47725 0.9545
P (3) 2 0.49865 0.9973
Gauss Distribution – Bell Curve
The probability that a measurement lies within one standard deviation from the mean is 68%
The probability that a measurement lies within two standard deviation from the mean is 95%
The probability that a measurement lies within three standard deviation from the mean is 99%
Confidence level
For the above case, the confidence level is 68%. We are 68.26% confident that any random
measurement of x will lie within one standard deviation from the mean value.