由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Computation版 - 又一个菜鸟问题
相关主题
建立方程解方程x=sin(x) (转载)
再贴一下关于matlab中polynomial fitting 的问题请问chicago附近有好的scientific computation program吗?
Parallel computing in Matlab有人知道MS in Scientific Computing好吗?
Should change "computation" to "matlab computation"请教有关Theory of Computation
Should I use C or matlab?目前项目主要找Human-Robot Interaction(HRI),Affective Computing,Computer Vision,NPL的 技术方向。
谁能推荐有关算法(computation algorithm)的书籍?integration question
选什么系比较合适?derivative of the cubic spline interpolation results
Where to buy computer for numerical computation?请教一个问题
相关话题的讨论汇总
话题: 1e话题: polynomial话题: precision话题: error话题: value
进入Computation版参与讨论
1 (共1页)
d**********g
发帖数: 87
1
suppose you are trying to solve f(x)=0 for the function
f(x)=sum(a(k)*pow(x,k)) k=0,1,2,...8
where a(8)=1.0 and abs(a(k))<=3.0 for k=0,...,7. if there is a root near x=2.9
and you evaluate this polynomial at x=2.9, about how big the the biggest term
in the polynomial? if computation is done with precision =1e-7, and you
compute a value for f(2.9) of 0.04, what is the most likely value for the
absolut round off error in evaluating f(2.9)?
a) 3.0E-9
b) 1.0E-7
c) 4.0E-3
d) 2.5E-1
h***o
发帖数: 539
2
b?

【在 d**********g 的大作中提到】
: suppose you are trying to solve f(x)=0 for the function
: f(x)=sum(a(k)*pow(x,k)) k=0,1,2,...8
: where a(8)=1.0 and abs(a(k))<=3.0 for k=0,...,7. if there is a root near x=2.9
: and you evaluate this polynomial at x=2.9, about how big the the biggest term
: in the polynomial? if computation is done with precision =1e-7, and you
: compute a value for f(2.9) of 0.04, what is the most likely value for the
: absolut round off error in evaluating f(2.9)?
: a) 3.0E-9
: b) 1.0E-7
: c) 4.0E-3

f**l
发帖数: 2041
3
I would choose c.
reason: f(x) is almost like x^8 since x is around 3.
then let's assume the error behave also like in the function x^8.
the problem then change to estimate (x+1e-7)^8 - x^8.
it's estimated as: 8*x^7*1e-7 just like u take the linear approximation.
ok, now 8*3^7*1e-7 is at the magnitude of 1e-3. so choose c.

【在 d**********g 的大作中提到】
: suppose you are trying to solve f(x)=0 for the function
: f(x)=sum(a(k)*pow(x,k)) k=0,1,2,...8
: where a(8)=1.0 and abs(a(k))<=3.0 for k=0,...,7. if there is a root near x=2.9
: and you evaluate this polynomial at x=2.9, about how big the the biggest term
: in the polynomial? if computation is done with precision =1e-7, and you
: compute a value for f(2.9) of 0.04, what is the most likely value for the
: absolut round off error in evaluating f(2.9)?
: a) 3.0E-9
: b) 1.0E-7
: c) 4.0E-3

h***o
发帖数: 539
4
ah....这个computation precision是这个意思?
我还以为算pow(x, k)的精度是1e-7

【在 f**l 的大作中提到】
: I would choose c.
: reason: f(x) is almost like x^8 since x is around 3.
: then let's assume the error behave also like in the function x^8.
: the problem then change to estimate (x+1e-7)^8 - x^8.
: it's estimated as: 8*x^7*1e-7 just like u take the linear approximation.
: ok, now 8*3^7*1e-7 is at the magnitude of 1e-3. so choose c.

f**l
发帖数: 2041
5
I guess the precision here means round off error for the data.
So the final error of the result = the sensitivity times the precision.
8*x^7 is the major part of the sensitivity. So...

【在 h***o 的大作中提到】
: ah....这个computation precision是这个意思?
: 我还以为算pow(x, k)的精度是1e-7

1 (共1页)
进入Computation版参与讨论
相关主题
请教一个问题Should I use C or matlab?
一个mathematica 问题 请教谁能推荐有关算法(computation algorithm)的书籍?
请教两个题目算法数论的,多谢多谢!选什么系比较合适?
Characterization 与 Evaluation 这两个概念的区别是什么?Where to buy computer for numerical computation?
建立方程解方程x=sin(x) (转载)
再贴一下关于matlab中polynomial fitting 的问题请问chicago附近有好的scientific computation program吗?
Parallel computing in Matlab有人知道MS in Scientific Computing好吗?
Should change "computation" to "matlab computation"请教有关Theory of Computation
相关话题的讨论汇总
话题: 1e话题: polynomial话题: precision话题: error话题: value