Asked • 07/12/19

Limit of partial sums?

So I'd like to calculate limit of partial sums, where `a_n` is `sp.Lambda(x, 1/x * sp.factorial2(2*x-1)/sp.factorial2(2*x))`. I tried this: sp.limit(sp.summation(a(i), (i,1,n)), n, sp.oo) But as I start it, it starts calculating but never ends, so I don't get an answer. Interesting fact is that if I try to calculate infinite sum, I'll get an answer: sp.summation(a(i), (i,1,sp.oo)) >>>2log(2) I can even create a sequence of partial sums: s = sp.SeqFormula(sp.summation(a(i), (i,1,n)), (n, 1, sp.oo)) Which, for example in Maple, evaluates the limit kinda. So is there a way to calculate such limit in sympy? Actually I'd like to get an answer similar to summation: `2log(2)`, but using the limit of partial sums.

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.