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
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers24
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53380 Solvers
-
Calculate the area of a triangle between three points
3523 Solvers
-
Create a random logical vector of N elements of which M are true.
104 Solvers
-
Create an index-powered vector
959 Solvers
-
Back to basics - mean of corner elements of a matrix
464 Solvers
More from this Author17
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!