几何尺寸与公差论坛

 找回密码
 注册
查看: 1085|回复: 0

following errors in computations

[复制链接]
发表于 2009-9-5 20:55:30 | 显示全部楼层 |阅读模式
following errors in computations
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?????
check out our whitepaper library.
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 notfff"> 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.
the traditional propagation of errors analysis is done with partial derivatives, see:
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:
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 re  
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.
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.
dgeorgeson - was this from cornell?  that is where my copy (can't re  
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.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-22 12:47 , Processed in 0.034870 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表