Re: UnitStep
- To: mathgroup at smc.vnet.net
- Subject: [mg52354] Re: UnitStep
- From: "Steve Luttrell" <steve_usenet at _removemefirst_luttrell.org.uk>
- Date: Wed, 24 Nov 2004 02:32:26 -0500 (EST)
- References: <cnuoh9$sql$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
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 navy.mil> wrote in message news:cnuoh9$sql$1 at smc.vnet.net... > 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 > >