Re: UnitStep

*To*: mathgroup at smc.vnet.net*Subject*: [mg52338] Re: [mg52326] UnitStep*From*: Bob Hanlon <hanlonr at cox.net>*Date*: Wed, 24 Nov 2004 02:32:09 -0500 (EST)*Reply-to*: hanlonr at cox.net*Sender*: owner-wri-mathgroup at wolfram.com

Because you are asking it to evaluate 0/0. Instead of a replacement Rule, use Simplify[(1/p) UnitStep[p-1], p<1] 0 Limit[(1/p) UnitStep[p-1], p->0] 0 Bob Hanlon > > From: "Blimbaum, Jerry AA R22" <jerry.blimbaum at navy.mil> To: mathgroup at smc.vnet.net > Date: 2004/11/23 Tue AM 02:12:45 EST > To: mathgroup at smc.vnet.net > Subject: [mg52338] [mg52326] UnitStep > > 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 > > >