How to plot this on a graph
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
DARREN O BRIEN
le 30 Oct 2020
Commenté : Ameer Hamza
le 31 Oct 2020
how do u plot this between 0 and 2
syms n x
F = symsum(1/factorial(n),n,1,5)
0 commentaires
Réponse acceptée
Ameer Hamza
le 30 Oct 2020
There is no 'x' in your expression inside symsum(). I guess you are tyring to plot taylor series of exp(x). Try this
syms n x
F = symsum(x^n/factorial(n),n,0,5);
fplot(F, [0 2])
9 commentaires
Ameer Hamza
le 31 Oct 2020
But how do you define the polynomial from the series of 1/n!. If you look at my original answer. It does create a polynomial.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Calculus dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!