又一个菜鸟问题# Computation - 科学计算
d*g
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
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