x: (3**(x-1)-1)/6**(x-1), [1,inf])
Out[2]: 0.8
So, another solution might be to add a SymPy algorithm to the sum()
function. Of course, this is probably a lot more work than just enabling
simpsum to the existing Maxima algorithm.
--
Marc Tardif
Freenode: cr3, Jabber: c...@jabber.org
1024D
r in SymPy either:
In [34]: nsum(lambda n: 1/2**n-1/3**n, [1, inf])
Out[34]: mpf('0.5')
So, is my expression incorrect or might this be a bug?
--
Marc Tardif
Freenode: cr3, Jabber: c...@jabber.org
1024D/72679CAD 09A9 D871 F7C4 A18F AC08 674D 2B73 740C 7267 9CAD
--
You received