Test the false position 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 false position. Other tests for varying termination criteria, intervals, and other functions will be added later.
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers24
Suggested Problems
-
All your base are belong to us
575 Solvers
-
Who knows the last digit of pi?
689 Solvers
-
313 Solvers
-
107 Solvers
-
Basics: Divide integers to get integer outputs in all cases
135 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!
A link to the "false position method" can be placed in the Challenge description.
The syntax is .
I found the algorithm at http://math.fullerton.edu/mathews/n2003/regulafalsi/RegulaFalsiProof.pdf
will create a link with a name. Spaces before the < and after the > are needed.
The idea of the method is that the lower and upper bounds for x define a line. Wherever this line crosses the x-axis becomes our new estimate for the root (1st iteration is like the secant method). https://en.wikipedia.org/wiki/Regula_falsi
This problem needs more test cases.