MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

NSum bug or am I doing something wrong?


Hi,

I'm getting imaginary answers for simple NSums of rational numbers. The
example below produces the issue in Mathematica 7:

NSum[(-1)^(k + 1)*(.2)^k, {k, 1, 32}]

gives me the result:

0.166667 + 1.1972*10^-44 I

When I switch to Sum the problem disappears.

Any hint?

Thanks so much.

ebpr



  • Prev by Date: In V7, is it possible to parallelize DensityPlot?
  • Next by Date: Numerical General Relativity packages
  • Previous by thread: Re: In V7, is it possible to parallelize DensityPlot?
  • Next by thread: Re: NSum bug or am I doing something wrong?