Re: indeterminate expression
- To: mathgroup at smc.vnet.net
- Subject: [mg37603] Re: indeterminate expression
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 6 Nov 2002 06:53:45 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <aq874p$e6e$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, Unprotect[Power] Power[0, 0] = 1 Protect[Power] Regards Jens MH wrote: > > Hi, as part of a long combinatoric code, I need to calculate lots of p^n > values. The problem arises when p=n=0. Such an expression is indeterminate > obviously, but since it is part of a probability calculation, the > probability that something with 0 probability occuring 0 times is 1. Is > there a rule that I can specify that would allow me to replace this > indeterminate express with the answer that I want? I could go back and > change every instance where this pops up with a function or take the limit, > but I wanted to check if there was a more efficient method. > > Thanks, > M