Ask Your Question

Revision history [back]

Use simplify_full:

sage: f(x) = sum(k,k,0,x) sage: f x |--> 1/2x^2 + 1/2x sage: f(x) = sum(binomial(10,k),k, 0,x) sage: f x |--> sum(binomial(10, k), k, 0, x) sage: f(2) sum(binomial(10, k), k, 0, 2) sage: f(2).simplify_full() 56

Use simplify_full:

sage: f(x) = sum(k,k,0,x)
sage: f
x |--> 1/2x^2 1/2*x^2 + 1/2x
1/2*x
sage: f(x) = sum(binomial(10,k),k, 0,x)
sage: f
x |--> sum(binomial(10, k), k, 0, x)
sage: f(2)
sum(binomial(10, k), k, 0, 2)
sage: f(2).simplify_full()
56

56