Re: 0^0=1 (?)
- To: mathgroup at smc.vnet.net
- Subject: [mg50378] Re: [mg50373] 0^0=1 (?)
- From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
- Date: Wed, 1 Sep 2004 01:49:16 -0400 (EDT)
- References: <200408311028.GAA18659@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
*This message was transferred with a trial version of CommuniGate(tm) Pro*
Unprotect[Power];
0^0=1;
Protect[Power];
0^0
1
Though I am not convinced this is always such a good thing. You could
instead just do your computations "locally" inside Block as
follows:
Block[{Power},0^0=1;computation]
For example:
Block[{Power},0^0=1;Sin[Pi]^(3!-6)]
1
Andrzej Kozlowski
Chiba, Japan
http://www.mimuw.edu.pl/~akoz/
On 31 Aug 2004, at 19:28, underscore wrote:
> *This message was transferred with a trial version of CommuniGate(tm)
> Pro*
> Hi,
>
> I'd like to define 0^0=1 in Mathematica such that it doesn't return
> Indeterminate when this occurs.
>
> Thanks
>
>