Solution for Numerical Summation of a Series

时间:2016-04-08 17:33:20
【文件属性】:

文件名称:Solution for Numerical Summation of a Series

文件大小:917B

文件格式:CPP

更新时间:2016-04-08 17:33:20

数值分析 实验1

Produce a table of the values of the series f(x)=sum(k from 1 to oo)1/(k*(k+x) for the 3001 values of x, x = 0.0, 0.1, 0.2, …, 300.00. All entries of the table must have an absolute error less than 10-10. This problem is based on a problem from Hamming (1962), when mainframes were very slow by today's microcomputer standards.


网友评论

  • 还是超时了
  • 还要考虑round以及确实精度不达标【不过ls讲的提取公因式是什么?
  • 精度达不到要求,乘法要提取公因式