Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using Matlab: In this part of the project we will be using the bisection algbrithm, to search for the solution to a highly nonlinear function.
Using Matlab:
In this part of the project we will be using the bisection algbrithm, to search for the solution to a highly nonlinear function. This will involve a rewrite of the BiSection function. a) Rewrite the function BiSection to be BiSectionSearch. The function will use the bisection algorithm to search for a set of roots. It should do this systematically by applying the BiSection algorithm to a set of overlapping intervals that work through the region of the roots. The function call should be as shown below function roots = Bisectionsearch ( xstart, xstop, xstep, xOverlap, Function ) % Function that uses bisection to search for the roots of f(x) % Inputs: xStart and xStop - the end points of the search. xStep the size of interval used in search. xOverlapthe overlap between intervals. Function - the function to be searched % Outputs: roots - array of roots found in the search. As an example of how the intervals should be set up this is how I started the first interval. The next interval would be x0 x1-xoverlap ; =Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started