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

1 visualización (últimos 30 días)
Muhammad Abdan Syakuro
Muhammad Abdan Syakuro el 25 de Oct. de 2019
Comentada: John D'Errico el 25 de Oct. de 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 comentarios
James Tursa
James Tursa el 25 de Oct. de 2019
What have you done so far? What specific problems are you having with your code?
Muhammad Abdan Syakuro
Muhammad Abdan Syakuro el 25 de Oct. de 2019
so the task is to implement that math to code in matlab..

Iniciar sesión para comentar.

Respuestas (1)

James Tursa
James Tursa el 25 de Oct. de 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 comentarios
Muhammad Abdan Syakuro
Muhammad Abdan Syakuro el 25 de Oct. de 2019
i think this is not the answer of implement that math
John D'Errico
John D'Errico el 25 de Oct. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Install Products en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by