Hi!
On Sep 14, 4:08 pm, sps <[email protected]> wrote:
> How can I calculate this summation:
>
> summation(from:0,to:+oo,((2*I)^n/(n^3+1)*(1/4)^n))
>
> in sage?
Disclaimer: I am not an expert in symbolics (I am more into algebra).
I thought the following should work:
sage: var('n')
n
sage: f = (2*I)^n/(n^3+1)*(1/4)^n
sage: sum(f,0,infinity)
However, an error occurs.
The "sum" command uses Maxima to do the summation. Maxima apparently
gives an answer, but Sage does not understand it:
TypeError: unable to make sense of Maxima expression 'f[4,3]([1,1,-
(sqrt(3)*I+1)/2,(sqrt(3)*I-1)/2],[2,-(sqrt(3)*I-1)/2,(sqrt(3)*I+1)/
2],I/2)' in Sage
So, there might be a bug here, or I made a mistake.
Best regards,
Simon
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org