calculate the sum of a discert series and then limit the the result

1 view (last 30 days)
Hi There, I'm solving this problem via Matlab: =?
I tried 'symsum' and 'limit' function like this:
>> limit(symsum(1/k+n,k,1,n),n,inf)
but it seems not work.
Thanks for any info.

Accepted Answer

KSSV
KSSV on 10 May 2021
Edited: KSSV on 10 May 2021
syms k n
f = symsum(1/(k+n),k,1,n)
f = 
s = limit(f,n,inf)
s = 
  3 Comments
Elle
Elle on 10 May 2021
I made a mistake at the meaning of the 'syms'. Now I realize it's stronger than I thought.
Thank you.

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!