Question: Bisection You will need to modify the bisect.m file to take inputs of the function you want to find the roots for ( func )

Bisection You will need to modify the bisect.m file to take inputs of the
function you want to find the roots for (func), the lower bound of the search
(lower guess), the upper bound of your search (upper guess), and the
tolerance you want to find a solution to (tol). The bisect function should
provide a vector of the root calculated during each iteration (root), and a
vector of the error at each iteration (errors).
Please help write code out for this to work. I keep getting errors such as "Assessment result: incorrectFunction Test 1 Roots0%(25%)
Variable roots must be of size [135]. It is currently of size [134]. Check where the variable is assigned a value.
Assessment result: incorrectFunction Test 1 Error0%(25%)
Variable errors must be of size [135]. It is currently of size [134]. Check where the variable is assigned a value.
Assessment result: incorrectFunction Test 2 Roots0%(25%)
Variable roots must be of size [130]. It is currently of size [129]. Check where the variable is assigned a value.
Assessment result: incorrectFunction Test 2 Error0%(25%)
Variable errors must be of size [130]. It is currently of size [129]. Check where the variable is assigned a value."
 Bisection You will need to modify the bisect.m file to take

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!