Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

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
>
>


  • Prev by Date: how to join three plots to view it in one plot
  • Next by Date: Re: mathlink newbie q
  • Previous by thread: Re: 0^0=1 (?)
  • Next by thread: Create subscript box by keyboard