Question: Determine the root of the function f ( x ) = sqrt ( x ) + x 2 - 7 with five significant figures, using
Determine the root of the function fx sqrtx x with five significant figures, using the methods listed below.
Part Two Points: Carry out the following requirements using MATLAB. In each question, along with the output from MATLAB, provide the complete code that you used.
f Find and use a MATLAB builtin function; find the root of the function. Also, please provide
a brief description of the methods used by this function Hint: use the MATLAB help tool
g Write a MATLAB userdefined function that solves the nonlinear function using the
bisection method. Use this function to find the root of the equation with initial points and
and iterations. The output should be a matrix with the results of each iteration.
h Write a MATLAB userdefined function that solves the nonlinear function using
NewtonRaphson method. Use this function to find the root of the equation with initial points
and iterations. The output should be a matrix with the results of each iteration.
i Make a plot of "Tolerance in vs Iteration Number". The figure should be one plot that
includes the results from and and has the necessary labels and legend.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
