1. Write two m-files, one for the bisection method and another for Newton's method.
2. Using both the Bisection method and the Newton method answer the following:
Include the commands you typed into Matlab
a) Find the root to 3, 5, and 8 decimal places of f(x) = x^{2}- 2 starting with an initial approximation of x=1.
b) How many steps did it take for the bisection method to find the root to 3, 5, and 8 decimal places?
c) How many steps did it take for the Newton method to find the root to 3, 5 and 8 decimal places?
3. Use Newton's method to find all the real roots of f(x) = x^{5}+ x^{4 }-4x^{3} - 3x^{2}- 3x +1
4. Apply Newton's method to the function f(x) = x^{3} - x with an initial approximation of x=1/√5. Is the method converging? What happens? Explain your answer using the graph of f(x).
5. Use Newton's method on the function (x) = ^{3}√5 . What happens when your initial approximation is not x=0? Explain your answer using the graph of f(x).