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

1 vue (au cours des 30 derniers jours)
Elle
Elle le 10 Mai 2021
Commenté : Elle le 10 Mai 2021
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.

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by