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

1 view (last 30 days)
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 Comments
James Tursa
James Tursa on 25 Oct 2019
What have you done so far? What specific problems are you having with your code?
Muhammad Abdan Syakuro
Muhammad Abdan Syakuro on 25 Oct 2019
so the task is to implement that math to code in matlab..

Sign in to comment.

Answers (1)

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

Sign in to comment.

Categories

Find more on Install Products in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!