Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: UnitStep

  • To: mathgroup at
  • Subject: [mg52354] Re: UnitStep
  • From: "Steve Luttrell" <steve_usenet at>
  • Date: Wed, 24 Nov 2004 02:32:26 -0500 (EST)
  • References: <cnuoh9$sql$>
  • Sender: owner-wri-mathgroup at

You want to take a limit rather than do a replacement (which is what you use 
of /.p->0 does).

Limit[(1/p) UnitStep[p-1] , p->0]

Steve Luttrell

"Blimbaum, Jerry AA R22" <jerry.blimbaum at> wrote in message 
news:cnuoh9$sql$1 at
> 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

  • Prev by Date: Re: Iterator problem.
  • Next by Date: Re: Iterator problem.
  • Previous by thread: Re: UnitStep
  • Next by thread: Re: UnitStep