Sum of sequence with accuracy

Hi, how can I find the sum of (-x)^n/n! with accuracy of 0.001, n goes fron 0 to infinity.

1 Comment

Please show your attempts. You can try symsum to calculate sum symbolically
You can compute the sum numerically

Sign in to comment.

Answers (1)

James Tursa
James Tursa on 4 May 2020
Edited: James Tursa on 4 May 2020
exp(-x) will calculate that sum.

Products

Asked:

on 4 May 2020

Edited:

on 4 May 2020

Community Treasure Hunt

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

Start Hunting!