Réponse acceptée

Hint:
syms n
symsum( 1/factorial(n), n, 0, 10)
ans = 
Second hint:
you can break up the second sum into three pieces: the sum from -20 to -1, the value for 0 exactly, and the sum for 1 to 10. And you can evaluate at 0 exactly by using limit() .
If you do not do this, then you will encounter division by 0.

1 commentaire

parid
parid le 7 Jan 2023
thank a lot for suggest to me.
Thank you so much

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by