Question: Design the Bisection function ( you may use the m - language and work in Matlab or any high level language ) utilizing the bisection
Design the Bisection function you may use the mlanguage and work in Matlab or
any high level language utilizing the bisection method for solving nonlinear equations
f x
This function must use the following calling arguments: brackets x x ; delta pre
determined tolerance value and Flag a stopping criterion for your iterative process based on
the type of error used
Your function shall accept
f x as a calling argument for example, like anonymous function
in Matlab too.
Your function shall return a root, which was found, and the number of iterations needed to find
it
Your function shall give the user options to stop the iterative process and have
corresponding branches, accordingly an option to be chosen must be an argument in your
function:
a An absolute approximate error is used to stop the process. You may predict the number of
iterations in advance in such a case.
b An absolute relative approximate error is used to stop the process.
c Estimation of a true absolute error is used to stop the process.
d Conjunction of an absolute approximate error and an estimated true absolute error is used to
stop the process.
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
