please help share matlab command

 Risposta accettata

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.

Più risposte (0)

Categorie

Scopri di più su MATLAB in Centro assistenza e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by