Cody

Problem 966. Bisection method of finding a root.

Test the bisection algorithm described in Chapter 5 of Steven C. Chapra's textbook, Applied Numerical Methods with MATLAB for Engineers and Scientists. The first test case uses the following problem on the interval [1 3].

f(x)=x^2-4=0

The first test will be a single iteration of bisection. Other tests for varying termination criteria, intervals, and other functions will be added later.

Solution Stats

21.21% Correct | 78.79% Incorrect
Last Solution submitted on Nov 21, 2019

Solution Comments