Error Analysis 误差分析

Key Concepts
• Analytical vs. numerical Methods

• Representation of floating-point numbers 浮点数

• Concept of significant digits 有效数字

• Distinguishing different kinds of errors

– Round-off / chopping / truncation errors

– True/approximate absolute and relative errors

– Acceptable errors

1.Analytical vs. numerical Methods

1)Analytical Methods

Accurate solution

– Difficult and not always possible


2)Numerical Methods

 – Approximation of true solution

– What method to use?

• How good is our approximation? (Error Analysis)

• How efficient is our method? (Algorithm design, Convergence rate) 算法设计,收敛速度

• Does our methods always work? (Convergence)

Find the intersection

A:(a,b)      N: graph

2.Representation of floating-point numbers

• σ:sign    β:base    e:exponent

– binary : β =2 二进制       利用进制转化,改变β

– decimal : β =10 十进制
• 1/β ≤ m < 1 (i.e., a1 ≠ 0)

– binary: 0.5 ≤ m < 1

– decimal: 0.1 ≤ m < 1

小数部分xβ后保留整数部分    只能存8bit,有误差

3.Concept of significant digits

n=p -- significant value

4.Distinguishing different kinds of errors

Confident level:

Significant digits or Absolute/relative error bounds

Error Generation 

1. The space between the discrete values - rounding or chopping error

2. Propagation of round-off errors   
    Truncation errors

1)Truncation errors

2)Round-off errors 

计算中精度带来的误差

3)Propagated errors

电脑传输中产生的误差 -- 选择波动更小的算法设计--同时还要考虑灵敏度(Chapter2)

PS. 1.Absolute error is dimensional, while relative error is dimensionless.

2.True value has an infinite significant digits

  • 23
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 3
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值