16 lines
638 B
Diff
16 lines
638 B
Diff
diff --git a/src/sage/calculus/calculus.py b/src/sage/calculus/calculus.py
|
|
index dfaafb4353f..8d62ade24c8 100644
|
|
--- a/src/sage/calculus/calculus.py
|
|
+++ b/src/sage/calculus/calculus.py
|
|
@@ -568,8 +568,8 @@ def symbolic_sum(expression, v, a, b, algorithm='maxima', hold=False):
|
|
|
|
An example of this summation with Giac::
|
|
|
|
- sage: symbolic_sum(1/(1+k^2), k, -oo, oo, algorithm='giac')
|
|
- (pi*e^(2*pi) - pi*e^(-2*pi))/(e^(2*pi) + e^(-2*pi) - 2)
|
|
+ sage: symbolic_sum(1/(1+k^2), k, -oo, oo, algorithm='giac').factor()
|
|
+ pi*(e^(2*pi) + 1)/((e^pi + 1)*(e^pi - 1))
|
|
|
|
The same summation is solved by SymPy::
|
|
|