[Date Index] [Thread Index] [Author Index]
Re: Can I define 0^0 to be 1 for a notebook
Thomas Schmelzer wrote: > Hi there, > thanks for all your help with a previous "73" problem. > This time my question is probably even simpler... > If I enter 0^0 Mathematica keeps teeling me that this is > an indeterminate expression. > Can I define for a single notebook the rule "0^0 = 1?" > How to do that? > > Often in my modules expressions like > > "c^n" appear were both numbers can be 0 > Best, > Thomas > > Hi Thomas, In:= FullForm[Unevaluated[0^0]] Out//FullForm= Unevaluated[Power[0,0]] In:= Unprotect[Power]; 0^0 = 1; Protect[Power]; In:= 0^0 Out= 1 will do it. Also, check the following MathGroup thread: http://groups.google.fr/group/comp.soft-sys.math.mathematica/browse_thread/thread/e461770e161dd824/f86ab5a9dd59b3bd?q=0%5E0+indeterminate&rnum=2#f86ab5a9dd59b3bd Best regards, /J.M.