Skip to content

wise-saint/Regula_Falsi_Method

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Regula_Falsi_Method

Iteration method to find root of a function.

This method is based on the first degree equation.

Geometrically, in this method we replace the function f(x) by a straight line, l
or a chord passing through the points (xk, fk) and
(xk-1, fk-1) and take the point of intersection, xk+1 of the straight line with the x-axis
as the next approximation to the root.

image

Equating slope of the line, m gives :
m = (fk - fk-1)/(xk - xk-1) = (-fk)/(xk+1 - xk)
=> xk+1 = xk - (xk - xk-1)*fk / (fk - fk-1)

If the approximations are such that fk * fk-1 < 0 then the method is known as Regula Falsi method.
For next iteration use :
xk = xk+1 if fk * fk-1 < 0
xk-1 = xk+1 if fk * fk-1 > 0

About

Iteration method to find root of a function.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy