Dear All,
I seem to be having trouble with 0^n in maple, can someone help?
Essentially, I have a complex function that simplifies under certain conditions to
f:=1.*0.^n/factorial(n);
but
sum(f,n=0...0);
gives 0. Whereas,
evalf(subs(n=0,f));
gives 1.
Any ideas?
Thanks
Colin
Summations involving 0^n
Maybe you are looking to use "add" instead of "sum".
>add(f,n=0...0);

>?sum/details
for more help on this.
Regards,
Georgios Kokovidis
Dräger Medical
0^n
The basic problem, I think, is that 0^n in Maple gives 0 if n is non-constant (although 0.^n does not, I think somewhere in sum it gets "simplified"). There have been complaints about this forever, but it's been around for so long and is so deeply embedded in Maple that I doubt it's going to get changed any time soon.