#3587: [with patch, needs work] calculus -- wrap maxima's symbolic summation
----------------------------------------+-----------------------------------
Reporter: was | Owner: whuss
Type: enhancement | Status: assigned
Priority: major | Milestone: sage-4.1.2
Component: calculus | Keywords:
Reviewer: Burcin Erocal, Mike Hansen | Author: Wilfried Huss
Merged: |
----------------------------------------+-----------------------------------
Comment(by kcrisman):
The latest .spkg in #6699 (and hence in 4.1.2.alpha0) should fix the
problems Burcin mentions, and seems to handle all the sums properly.
{{{
sage: sum(binomial(n,k), k, 1, n)
2^n - 2
sage: sum(binomial(n,k), k, 2, n)
2^n - 2*n - 2
}}}
are now
{{{
sage: var('k,n')
(k, n)
sage: sum(binomial(n,k),k,0,n)
2^n
sage: sum(binomial(n,k),k,1,n)
2^n - 1
sage: sum(binomial(n,k),k,2,n)
2^n - n - 1
}}}
So perhaps a new patch based on 4.1.2.alpha0 is in order, but then the
review should be quite straightforward, with the fix above.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3587#comment:13>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en
-~----------~----~----~----~------~----~------~--~---