Akzeptierte Antwort

Walter Roberson
Walter Roberson am 7 Jan. 2023

0 Stimmen

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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by