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

1 次查看(过去 30 天)
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 个评论
James Tursa
James Tursa 2019-10-25
What have you done so far? What specific problems are you having with your code?
Muhammad Abdan Syakuro
so the task is to implement that math to code in matlab..

请先登录,再进行评论。

回答(1 个)

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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Install Products 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by