please help share matlab command

 Accepted Answer

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 Comment

thank a lot for suggest to me.
Thank you so much

Sign in to comment.

More Answers (0)

Categories

Tags

Asked:

on 7 Jan 2023

Commented:

on 7 Jan 2023

Community Treasure Hunt

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

Start Hunting!