MATLAB Answers

0

Write a MATLAB Function takes x as the argument and calculates "y" by using the relation: y=x/2+x^2/​4+x^3/8+x^​4/16+...

Asked by Taqi Zaidi on 30 Jul 2019
Latest activity Commented on by Walter Roberson
on 30 Jul 2019
i am unable to do this question, pls help.

  2 Comments

What have you done so far? What specific problems are you having with your code? Do you know how to write a MATLAB function file? See this link:
I am having exam tomorrow, i was going through past papers and saw this question. I was unable to understand it, so i thought to take help from this forum.

Sign in to comment.

Tags

1 Answer

Answer by Alex Burbee on 30 Jul 2019
 Accepted Answer

function y = solveEQU(x)
y =
%type your equation you want to solve
end

  4 Comments

Show 1 older comment
I like the number '0.5' for example
Note that there is a closed form formula when abs(x) < 1

Sign in to comment.