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
-
2537 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2822 Solvers
-
Arrange vector in ascending order
816 Solvers
-
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
253 Solvers
-
MATCH THE STRINGS (2 CHAR) very easy
299 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.