MathGroup Archive 2000

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

Search the Archive

Re: bug alert!

Well, something is seriously wrong with my so-called "correct"
answer.  It should be  (Floor[x]+1)UnitStep[x].
Sorry :>)


On Tue, 19 Sep 2000, Jack Goldberg wrote:

> Hi group:
> Brief report of a bug: ver 4.0x on  PowerMac and Unix systems.
> Sum[ UnitStep[x-k],{k,0,Infinity} ] -> (1+x)*UnitStep[x]
> which is incorrect.  The correct answer is  Floor[x]*UnitStep[x].
> This error is compounded when you 
> Sum[f[x-k]*UnitStep[x-k],{k,0,Infinity}], 
> in that not only to you get an incorrect answer, the answer contains hidden
> variables and is total nonsense.
> Something is seriously at fault here. 

  • Prev by Date: just doesn't work
  • Next by Date: Re: Point inside a plygon?
  • Previous by thread: bug alert!
  • Next by thread: matrix indices