Question: Using MATLAB ONLY! Write bisection function that finds root and saves convergence data Use code to find the zero f(x) = ex - 3x2 in
Using MATLAB ONLY!
Write bisection function that finds root and saves convergence data
Use code to find the zero f(x) = ex - 3x2 in the interval [-1, 0].
On a semi-log plot, compare the rate of convergence of the bisection
method with starting interval [-1,0] to that of Newtons method with initial
guesses -1 and 0.
Verify that Bisection and Newtons method converge to the same zero.
Hand in a copy of the command window where functions were called.
Hand in a plot of the convergence data for bisection and Newtons method
with axes and curves labeled.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
