×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Following Errors in Computations
7

Following Errors in Computations

Following Errors in Computations

(OP)
I hope that I am not off base for this forum.  Long long time ago at Cornell, the physics department had a paper that showed how errors propagate through compuatations.  Example, if I measure the L and B of a table and use a ruler to the nearest 1 inch, my measurement error is 0.5".  Hence my error is LxB + - "??".  If my measurement was to mm, then my error is 0.5mm and the accuracy of my final answer is better.

Does anyone have those relationships for adding, subtracting, multiplying, dividing, log, power raising?????

RE: Following Errors in Computations

2
I had to work these out for myself many years ago.  The results are below, but since I have never found them in any texts I can not guarantee that they are correct.  However, I was slightly encouraged by their vague resemblances to some basic results in the differential calculus.

(... hope I can drive the TGML properly here ...)

Let A be the best estimate of a quantity;
Let B be the best estimate of another quantity which is statistically independent of A;
Let V(A) and V(B) be the respective variances associated with the estimates of A and B;
Let n be a numerical constant (exactly known).

Then the following formulae will assist in determining the variance associated with the results of arithmetic operations involving A, B and n.

V(A+B) = V(A) + V(B)
V(A-B) = V(A) + V(B)
V(n*A) = n2*V(A)
V(A*B) = B2*V(A) + A2*V(B)
V(A/B) = {B2*V(A) + A2*V(B)} / B^4
V(An) = {nAn-1}2 * V(A)
V(AB) = {BAB-1}2 * V(A) + {AB*ln(A)}2*V(B)

The first three formulae are exact, and can be found in any basic text book on statistics.  The remaining formulae are approximate, and are accurate only when sqrt(V(A))/A  and  sqrt(V(B))/B are small.  In most engineering situations this condition is adequately satisfied.

Note that these formulae are valid only for true variances in the strict statistical sense of that term (ie the square of the standard deviation).

Note also the requirement for statistical independence.

If anyone disagrees with these, please advise via this forum.

RE: Following Errors in Computations

There is a mathematical disciplin called Interval Analysis that is devoted to studying methods for calculating with uncertain quantities, where the uncertainty is specified as intervals (e.g. a known measurement error on a quantity, in your example).

The rules for calculation is defined by the interval arimethic. For more information check out the following sites:

http://www.cs.utep.edu/interval-comp/
http://www.mat.univie.ac.at/~neum/interval.html

RE: Following Errors in Computations

A good article for propagation of error is in NBS Special Publication 300, Vol. 1 (1969), called "Precision Measurement and Calibration".  The article is by Harry Ku (also the editor of the volume); the article is entitled "Notes on the Use of Propagation of Error Formulas".  It's a bit more accessible discussion of Cramer's theorem, which is the basis of the statistical treatment (see any text on mathematical statistics).

Also in that NBS publication is a good article entitled "Computations with Approximte Numbers" by Delury.  It's a grass-roots discussion of interval arithmetic.

You also want to be careful to make sure your stochastic variables meet with the assumptions made by these techniques.  In the 80's I remember working with data that wasn't amenable to these techniques and I had to resort to Monte Carlo modelling to get quantitative answers.

For quick back of the envelope calculations, a good technique is the thing we were all probably taught in a basic physics or math class:  you can approximate the uncertainty of a dependent variable by using differentials.  For example, if z = f(x, y), then dz = f_x*dx + f_y*dy where f_x means the partial derivate with respect to x.  Even if you can't do the calculation easily in analytical form, it's not hard to approximate things with numbers and a calculator.

RE: Following Errors in Computations

(OP)
I ran across a good "lecture" while surfing one day - sorry I didn't write down the URL but details are:  NAU.edu  Course CHM320  - in case anyone wants to try to find it himself.  If I could get a coordinate to send, I'd pass it on.

RE: Following Errors in Computations

I know this question has been around for a while, but there is a publication regarding how to handle errors.  I came across it in a physics class and have found it to be useful.  The title is An Introduction to Error Analysis:  The Study of Uncertainties in Physical Measurements.  It was written by John R. Taylor.

RE: Following Errors in Computations

(OP)
DGeorgeson - was this from Cornell?  That is where my copy (can't remember author) is from - and, as I don't have it handy, is why I asked the question!

RE: Following Errors in Computations

John Taylor is/was at the Univ of Colorado, Boulder, Dept of physics.  Anyway--

A = first value
a = error of A
B = second value
b = error of b
C = result of A and B
c = propagated error of a and b
D = known constant w/o error
Example

Add
  A + B = C
    c = (a^2 + b^2)^0.5
Subtract
  A - B = C
    c = (a^2 + b^2)^0.5
Multiply
  A * B = C
    c/C = (a/A) + (b/B)
Divide
  A / B = C
    c/C = (a/A) + (b/B)
Power
  C = A^D
    c/C = D*(a/A)

These assume that the values and uncertainties are independent.  

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close