- To: mathgroup at smc.vnet.net
- Subject: [mg52362] Re: UnitStep
- From: Bill Rowe <readnewsciv at earthlink.net>
- Date: Wed, 24 Nov 2004 02:32:37 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
On 11/23/04 at 2:12 AM, jerry.blimbaum at navy.mil (Blimbaum, Jerry AA
>Why does the following give me 'indeterminate, infinite expression
>encountered', etc. instead of zero....
>(1/p) UnitStep[p-1] /.p->0
Mathematica replaces p with 0 everywhere then evaluates the resulting expression. Since UnitStep[p-1]/.p->0 is 0, the result is 0/0 which is indeterminate.
You can verify this is what is happening by doing
To reply via email subtract one hundred and four
Prev by Date:
Integral: Exp[-(x-m)^2/(2 s^2)] x^3 (1+x^2)^-1
Next by Date:
Re: plot Point with several shapes ?
Previous by thread:
Next by thread: