MathGroup Archive 2004

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

Search the Archive

Re: UnitStep


Blimbaum, Jerry AA R22 wrote:
> Why does the following give me 'indeterminate, infinite expression
> encountered', etc. instead of  zero....
> 
> 
> (1/p) UnitStep[p-1] /.p->0
> 
> 
> I defined a function using the UnitStep because p could  = 0  and I
> thought this would be the way around that problem.......but didnt work
> the way I expected.....
> 
> 
> jerry blimbaum
> 
> 
Jerry,

  what you get is 0/0, which is not (and must not be) defined.

Use If[p<1, 0, 1/p] instead.

-- 
Peter Pein
10245 Berlin


  • Prev by Date: Re: plot Point with several shapes ?
  • Next by Date: Principal Value integral
  • Previous by thread: Re: UnitStep
  • Next by thread: Re: UnitStep