请数值分析课的同学切勿直接使用代码提交,谢谢
Produce a table of the values of the series ϕ(x)=∑∞k=01k(k+x) for the
for the 3001 values of xx, xx = 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.
void Series_Sum( double sum[] );
where double sum[]
is an array of 3001 entries, each contains a value of ϕ(x)