How can i write MacLaurin Sequence for 1/1+x2

1 vue (au cours des 30 derniers jours)
Muhammad Abdan Syakuro
Muhammad Abdan Syakuro le 25 Oct 2019
Commenté : John D'Errico le 25 Oct 2019
Hello, i'm new in matlab and i need to know how to write in matlab code with
this questions of math
Screenshot_6.png
thank you, i hope i get the answer
  2 commentaires
James Tursa
James Tursa le 25 Oct 2019
What have you done so far? What specific problems are you having with your code?
Muhammad Abdan Syakuro
Muhammad Abdan Syakuro le 25 Oct 2019
so the task is to implement that math to code in matlab..

Connectez-vous pour commenter.

Réponses (1)

James Tursa
James Tursa le 25 Oct 2019
An outline of your code could look something like this:
x = _____; % you fill in the blank here, or get an input from the user
n = _____; % you fill in the blank here, or get an input from the user
mysum = 0
for k=0:n
mysum = mysum + _____; % you fill in the blank here
end
  2 commentaires
Muhammad Abdan Syakuro
Muhammad Abdan Syakuro le 25 Oct 2019
i think this is not the answer of implement that math
John D'Errico
John D'Errico le 25 Oct 2019
James did not do your homework for you, as he knows he should not. Instead, he gave you a good start. Now it is your job to finish your homwork. Fill in the blanks. Think about how to do the rest, as that is how you will learn, not by being given the answer on a platter.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Install Products 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!

Translated by