Skip to content

False Position Method Regula Falsi

Oscar Veliz edited this page Jul 30, 2018 · 14 revisions

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.

Clone this wiki locally