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
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers23
Suggested Problems
-
Swap the first and last columns
20936 Solvers
-
Vector Linear sum: (p1-m1)V1+(p2-m2)V2+...(pK-mk)Vk
55 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
483 Solvers
-
Try 1.5.4: Celsius to Fahrenheit
831 Solvers
-
143 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!