Question: MatLab Help Problem W2.3 (bisection algorithm). Write down the bisection algorithm to find a zero of a function f(x):= x4 1/4, for x ER-. (W2.3.1)
MatLab Help
Problem W2.3 (bisection algorithm). Write down the bisection algorithm to find a zero of a function f(x):= x4 1/4, for x ER-. (W2.3.1) Implement the algorithm and use it to compute the sequence (Xk)ken, of a zero (or root) of the functions given below. Create a function with inputs funk, a, b, tolerance, and itermax, corresponding respectively to the function f (here the Matlab function handle concept may help you), points a, b, the acceptable error tolerance and the allowed maximum number of iterations (where the loop breaks in order to avoid infinite loops). For the output values choose the ones you consider necessary. In testing your code, you should take care of the following. * Unless already provided, find a reasonable initial interval [a, b] which contains a zero (also known as root) of the function f. Make sure you test the sufficient condition f(a)f(b)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
