How do I solve this ?

11 vues (au cours des 30 derniers jours)
Ashish Phadke
Ashish Phadke le 22 Déc 2022
Commenté : John D'Errico le 22 Déc 2022
  1 commentaire
KSSV
KSSV le 22 Déc 2022
What have you attempted for the problem..?

Connectez-vous pour commenter.

Réponses (1)

VBBV
VBBV le 22 Déc 2022
Modifié(e) : VBBV le 22 Déc 2022
n = 0:1:100; % n range
syms x
E = @(n) (x.^n)./(factorial(n));
fplot(sum(E(n)),[1 10])
hold on
plot(exp(1:10))
legend('Summation','e^{x}')
xlabel('x values'); ylabel('Sum')
  2 commentaires
Ashish Phadke
Ashish Phadke le 22 Déc 2022
Thanks a lot !!
John D'Errico
John D'Errico le 22 Déc 2022
Please do not do obvious homework assignments for students.
This does not help the student, depite that they get what they want. It teaches them nothing more than that there is always someone willing to jump do their work for them.
It harms the site itself, because then this student will now think they can post their homework with no effort made, and get it done for them to hand in. Worse, it then convinces other students they have just as much right to get their work done for them with no effort made or shown.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by