Skip to content

False Position Method Regula Falsi

Oscar Veliz edited this page Jun 26, 2020 · 14 revisions

False Position video

The video for False Position Method (also known as Regula Falsi) can be found here https://youtu.be/pg1I8AG59Ik. Example code is given in the FalsePosition.c file, written in C, which compares Bisection Method against False Position Method in the same function f(x) = x^2 - x - 1 using the interval [0,2]. If you would like to alter the interval to use [-2,0] change double startA = 0, startB = 2;//interval to double startA = -2, startB = 0;//interval.

You can run the program online via CodingGround. To run the program locally have C installed (I recommend GNU) then type gcc FalsePosition.c -o FalsePosition.exe and then ./FalsePosition.exe (or FalsePosition.exe if using Windows) in the terminal in the directory where FalsePosition.c is saved. If you'd rather not use the terminal use an IDE like Geany to open, build, and run the program.