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
thank you, i hope i get the answer
2 个评论
James Tursa
2019-10-25
What have you done so far? What specific problems are you having with your code?
回答(1 个)
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 个评论
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 Center 和 File Exchange 中查找有关 Install Products 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!