Description
Write a MATLAB function that uses the bisection method to solve
f(x) = 0 when f(x) = x
3 − x − 1 on [1, 2] with a tolerance of 10−4
.
Your function should display the approximations to x as well as f(x)
Name your m file using the following format.
WS1_LastName_FirstInital(a,b,N,tol)
Where N is the maximum number of iterations, tol = 10−4 and a and b are the interval end points.
Upload your MATLAB code file to the corresponding Dropbox folder on by Monday 8/31 before 10:45am.
1