How can I code this problem in MATLAB:
a) Find the approximations to within 10-4 to all realzeros of the following polynomials using Newton's method.?
f(x)=x3 - 2*x2- 5.
b) Find approximations to within 10-5 to all thezeros of each of the following polynomials by first
finding the real zeros using Newton’s method and then reducing topolynomials of lower degree to
determine any complex zeros.
f(x)=x4 + 5x3 - 9*x2 - 85*x -136.