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 commentaire

darova
darova le 4 Mai 2020
Please show your attempts. You can try symsum to calculate sum symbolically
You can compute the sum numerically

Connectez-vous pour commenter.

Réponses (1)

James Tursa
James Tursa le 4 Mai 2020
Modifié(e) : James Tursa le 4 Mai 2020

1 vote

exp(-x) will calculate that sum.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by