SlideShare a Scribd company logo
1 of 8
Numerical Computing
Lecture # 11
Regula Falsi Method
By Nasima Akhtar
Working Rule
• The Regula–Falsi Method is a numerical method for estimating the roots of a
polynomial f(x). A value x replaces the midpoint in the Bisection Method and serves as
the new approximation of a root of f(x). The objective is to make convergence
faster. Assume that f(x) is continuous.
• This method also known as CHORD METHOD ,, LINEAR INTERPOLATION and
method is one of the bracketing methods and based on intermediate value theorem
Graphical Representation
Derivation
• Equation Of line gives us:
•
𝑦 − 𝑦1
𝑥 − 𝑥1
=
𝑦2− 𝑦1
𝑥2− 𝑥1
• 𝑦 − 𝑦1 =
𝑦2− 𝑦1
𝑥2− 𝑥1
(𝑥 − 𝑥1)
• (𝑥1, 𝑦1)=(a,f(a)), (𝑥2, 𝑦2)=(b,f(b)), (𝑥 , 𝑦 )=(𝑥0, 𝑦0)
• y- f(a) =
f(b)−f(a)
b− 𝑎
(𝑥 −a)
• 0- f(a) =
f(b)−f(a)
b− 𝑎
(𝑥 −a) at x-axis y=0
• 0- f(a) =
f(b)−f(a)
b− 𝑎
(𝑥 −a)
•
(b− 𝑎)(− f(a) )
f(b)−f(a)
=x-a
• a +
(b− 𝑎)(− f(a) )
f(b)−f(a)
=x
•
𝑎(f(b)−f(a))+(b− 𝑎)(− f(a) )
f(b)−f(a)
=x `
•
𝑎(f(b))−a(f(a))−b(f(a) )+a(f(a) )
f(b)−f(a)
=x `
•
𝑎(f(b)) −b(f(a) )
f(b)−f(a)
=x `
• X=
𝑎(f(b)) −b(f(a) )
f(b)−f(a)
`
Algorithm
1.Find points a and b such that a < b and f(a) * f(b) < 0.
2.Take the interval [a, b] and determine the next value of x1.
3.If f(x1) = 0 then x1 is an exact root, else if f(x1) * f(b) < 0 then let a = x1,
else if f(a) * f(x1) < 0 then let b = x1.
4.Repeat steps 2 & 3 until f(xi) = 0 or |f(xi)|  tolerance
Example Numerical
• Find Approximate root using Regula Falsi method of the equation
𝑥3-4x+1
Putting values in
x=
𝑎(f(b)) −b(f(a) )
f(b)−f(a)
`
X F(x)
a=0 1
b=1 -2
𝑥0=0.3333 F(𝑥0)= -0.2963
𝑥1=0.25714 F(𝑥1)= -0.0115
𝑥2=0.2542 F(𝑥2)= -0.0003
𝑥3=0.2541 F(𝑥3)= -0.00001
𝑥4=0.2541
Pros and Cons
Advantages
• 1. It always converges.
• 2. It does not require the derivative.
• 3. It is a quick method.
Disadvantages
• 1. One of the interval definitions can get stuck.
• 2. It may slowdown in unfavourable situations.
Matlab Code
f=@(x)(x^3+3*x-5);
x1=1;
x2 = 2;
i = 0;
val = f(x2);
val1 = f(x1);
if val*val1 >= 0
i = 99;
end
while i <= 4
val = f(x2);
val1 = f(x1);24
temp = x2 - x1;
temp1 = val - val1;
nVal = temp/temp1;
nVal = nVal * val;
nVal = x2 - nVal;
if (f(x2)*nVal <= 0)
x1 = x2;
x2 = nVal;
else
if (f(x1)*nVal <= 0)
x2 = nVal;
end
end
i = i+1;
end
fprintf('Point is %fn',x2)
fprintf('At This Point Value is %fn',f(x2))

More Related Content

What's hot

presentation on Euler and Modified Euler method ,and Fitting of curve
presentation on Euler and Modified Euler method ,and Fitting of curve presentation on Euler and Modified Euler method ,and Fitting of curve
presentation on Euler and Modified Euler method ,and Fitting of curve Mukuldev Khunte
 
Newton backward interpolation
Newton backward interpolationNewton backward interpolation
Newton backward interpolationMUHAMMADUMAIR647
 
Newton Forward Difference Interpolation Method
Newton Forward Difference Interpolation MethodNewton Forward Difference Interpolation Method
Newton Forward Difference Interpolation MethodAdeel Rasheed
 
Newton-Raphson Method
Newton-Raphson MethodNewton-Raphson Method
Newton-Raphson MethodJigisha Dabhi
 
Euler and improved euler method
Euler and improved euler methodEuler and improved euler method
Euler and improved euler methodSohaib Butt
 
Numerical solution of ordinary differential equations GTU CVNM PPT
Numerical solution of ordinary differential equations GTU CVNM PPTNumerical solution of ordinary differential equations GTU CVNM PPT
Numerical solution of ordinary differential equations GTU CVNM PPTPanchal Anand
 
Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)Syed Ahmed Zaki
 
Regula falsi method
Regula falsi methodRegula falsi method
Regula falsi methodandrushow
 
Newton divided difference interpolation
Newton divided difference interpolationNewton divided difference interpolation
Newton divided difference interpolationVISHAL DONGA
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson methodBijay Mishra
 

What's hot (20)

Newton Raphson
Newton RaphsonNewton Raphson
Newton Raphson
 
False Position Method.pptx
False Position Method.pptxFalse Position Method.pptx
False Position Method.pptx
 
newton raphson method
newton raphson methodnewton raphson method
newton raphson method
 
Secant method
Secant method Secant method
Secant method
 
presentation on Euler and Modified Euler method ,and Fitting of curve
presentation on Euler and Modified Euler method ,and Fitting of curve presentation on Euler and Modified Euler method ,and Fitting of curve
presentation on Euler and Modified Euler method ,and Fitting of curve
 
MEAN VALUE THEOREM
MEAN VALUE THEOREMMEAN VALUE THEOREM
MEAN VALUE THEOREM
 
Newton backward interpolation
Newton backward interpolationNewton backward interpolation
Newton backward interpolation
 
Mean Value Theorems
Mean Value TheoremsMean Value Theorems
Mean Value Theorems
 
Newton Forward Difference Interpolation Method
Newton Forward Difference Interpolation MethodNewton Forward Difference Interpolation Method
Newton Forward Difference Interpolation Method
 
BISECTION METHOD
BISECTION METHODBISECTION METHOD
BISECTION METHOD
 
Newton-Raphson Method
Newton-Raphson MethodNewton-Raphson Method
Newton-Raphson Method
 
Euler and improved euler method
Euler and improved euler methodEuler and improved euler method
Euler and improved euler method
 
Special functions
Special functionsSpecial functions
Special functions
 
Numerical solution of ordinary differential equations GTU CVNM PPT
Numerical solution of ordinary differential equations GTU CVNM PPTNumerical solution of ordinary differential equations GTU CVNM PPT
Numerical solution of ordinary differential equations GTU CVNM PPT
 
Euler and runge kutta method
Euler and runge kutta methodEuler and runge kutta method
Euler and runge kutta method
 
Secant method
Secant methodSecant method
Secant method
 
Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)
 
Regula falsi method
Regula falsi methodRegula falsi method
Regula falsi method
 
Newton divided difference interpolation
Newton divided difference interpolationNewton divided difference interpolation
Newton divided difference interpolation
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson method
 

Similar to False Point Method / Regula falsi method

Introduction to comp.physics ch 3.pdf
Introduction to comp.physics ch 3.pdfIntroduction to comp.physics ch 3.pdf
Introduction to comp.physics ch 3.pdfJifarRaya
 
Lecture 04 newton-raphson, secant method etc
Lecture 04 newton-raphson, secant method etcLecture 04 newton-raphson, secant method etc
Lecture 04 newton-raphson, secant method etcRiyandika Jastin
 
Analysis for engineers _roots_ overeruption
Analysis for engineers _roots_ overeruptionAnalysis for engineers _roots_ overeruption
Analysis for engineers _roots_ overeruptionuttamna97
 
Solution 3
Solution 3Solution 3
Solution 3aldrins
 
Solution 3
Solution 3Solution 3
Solution 3aldrins
 
Quadratic Function Presentation
Quadratic Function PresentationQuadratic Function Presentation
Quadratic Function PresentationRyanWatt
 
dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddKarmaX1
 
PRESENT.pptx this paper will help the next
PRESENT.pptx this paper will help the nextPRESENT.pptx this paper will help the next
PRESENT.pptx this paper will help the nextseidnegash1
 
ppt.pptx fixed point iteration method no
ppt.pptx fixed point iteration method noppt.pptx fixed point iteration method no
ppt.pptx fixed point iteration method noseidnegash1
 
Linear approximations and_differentials
Linear approximations and_differentialsLinear approximations and_differentials
Linear approximations and_differentialsTarun Gehlot
 
Approximate Integration
Approximate IntegrationApproximate Integration
Approximate IntegrationSilvius
 
Quantitive Techniques: Bisection method
Quantitive Techniques: Bisection methodQuantitive Techniques: Bisection method
Quantitive Techniques: Bisection methodArti Parab Academics
 
Quadraticfunctionpresentation 100127142417-phpapp02
Quadraticfunctionpresentation 100127142417-phpapp02Quadraticfunctionpresentation 100127142417-phpapp02
Quadraticfunctionpresentation 100127142417-phpapp02Vine Gonzales
 

Similar to False Point Method / Regula falsi method (20)

Introduction to comp.physics ch 3.pdf
Introduction to comp.physics ch 3.pdfIntroduction to comp.physics ch 3.pdf
Introduction to comp.physics ch 3.pdf
 
Lecture 04 newton-raphson, secant method etc
Lecture 04 newton-raphson, secant method etcLecture 04 newton-raphson, secant method etc
Lecture 04 newton-raphson, secant method etc
 
Analysis for engineers _roots_ overeruption
Analysis for engineers _roots_ overeruptionAnalysis for engineers _roots_ overeruption
Analysis for engineers _roots_ overeruption
 
Solution 3
Solution 3Solution 3
Solution 3
 
Solution 3
Solution 3Solution 3
Solution 3
 
Quadratic Function Presentation
Quadratic Function PresentationQuadratic Function Presentation
Quadratic Function Presentation
 
Ch 2
Ch 2Ch 2
Ch 2
 
Evaluating Functions.ppt
Evaluating Functions.pptEvaluating Functions.ppt
Evaluating Functions.ppt
 
Bisection
BisectionBisection
Bisection
 
dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
 
PRESENT.pptx this paper will help the next
PRESENT.pptx this paper will help the nextPRESENT.pptx this paper will help the next
PRESENT.pptx this paper will help the next
 
OPRATION ON FUNCTIONS.ppt
OPRATION ON FUNCTIONS.pptOPRATION ON FUNCTIONS.ppt
OPRATION ON FUNCTIONS.ppt
 
ppt.pptx fixed point iteration method no
ppt.pptx fixed point iteration method noppt.pptx fixed point iteration method no
ppt.pptx fixed point iteration method no
 
Quadratic function
Quadratic functionQuadratic function
Quadratic function
 
Linear approximations and_differentials
Linear approximations and_differentialsLinear approximations and_differentials
Linear approximations and_differentials
 
Approximate Integration
Approximate IntegrationApproximate Integration
Approximate Integration
 
Quantitive Techniques: Bisection method
Quantitive Techniques: Bisection methodQuantitive Techniques: Bisection method
Quantitive Techniques: Bisection method
 
Quadraticfunctionpresentation 100127142417-phpapp02
Quadraticfunctionpresentation 100127142417-phpapp02Quadraticfunctionpresentation 100127142417-phpapp02
Quadraticfunctionpresentation 100127142417-phpapp02
 
Secant Method
Secant MethodSecant Method
Secant Method
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 

Recently uploaded

Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 

Recently uploaded (20)

Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 

False Point Method / Regula falsi method

  • 1. Numerical Computing Lecture # 11 Regula Falsi Method By Nasima Akhtar
  • 2. Working Rule • The Regula–Falsi Method is a numerical method for estimating the roots of a polynomial f(x). A value x replaces the midpoint in the Bisection Method and serves as the new approximation of a root of f(x). The objective is to make convergence faster. Assume that f(x) is continuous. • This method also known as CHORD METHOD ,, LINEAR INTERPOLATION and method is one of the bracketing methods and based on intermediate value theorem
  • 4. Derivation • Equation Of line gives us: • 𝑦 − 𝑦1 𝑥 − 𝑥1 = 𝑦2− 𝑦1 𝑥2− 𝑥1 • 𝑦 − 𝑦1 = 𝑦2− 𝑦1 𝑥2− 𝑥1 (𝑥 − 𝑥1) • (𝑥1, 𝑦1)=(a,f(a)), (𝑥2, 𝑦2)=(b,f(b)), (𝑥 , 𝑦 )=(𝑥0, 𝑦0) • y- f(a) = f(b)−f(a) b− 𝑎 (𝑥 −a) • 0- f(a) = f(b)−f(a) b− 𝑎 (𝑥 −a) at x-axis y=0 • 0- f(a) = f(b)−f(a) b− 𝑎 (𝑥 −a) • (b− 𝑎)(− f(a) ) f(b)−f(a) =x-a • a + (b− 𝑎)(− f(a) ) f(b)−f(a) =x • 𝑎(f(b)−f(a))+(b− 𝑎)(− f(a) ) f(b)−f(a) =x ` • 𝑎(f(b))−a(f(a))−b(f(a) )+a(f(a) ) f(b)−f(a) =x ` • 𝑎(f(b)) −b(f(a) ) f(b)−f(a) =x ` • X= 𝑎(f(b)) −b(f(a) ) f(b)−f(a) `
  • 5. Algorithm 1.Find points a and b such that a < b and f(a) * f(b) < 0. 2.Take the interval [a, b] and determine the next value of x1. 3.If f(x1) = 0 then x1 is an exact root, else if f(x1) * f(b) < 0 then let a = x1, else if f(a) * f(x1) < 0 then let b = x1. 4.Repeat steps 2 & 3 until f(xi) = 0 or |f(xi)|  tolerance
  • 6. Example Numerical • Find Approximate root using Regula Falsi method of the equation 𝑥3-4x+1 Putting values in x= 𝑎(f(b)) −b(f(a) ) f(b)−f(a) ` X F(x) a=0 1 b=1 -2 𝑥0=0.3333 F(𝑥0)= -0.2963 𝑥1=0.25714 F(𝑥1)= -0.0115 𝑥2=0.2542 F(𝑥2)= -0.0003 𝑥3=0.2541 F(𝑥3)= -0.00001 𝑥4=0.2541
  • 7. Pros and Cons Advantages • 1. It always converges. • 2. It does not require the derivative. • 3. It is a quick method. Disadvantages • 1. One of the interval definitions can get stuck. • 2. It may slowdown in unfavourable situations.
  • 8. Matlab Code f=@(x)(x^3+3*x-5); x1=1; x2 = 2; i = 0; val = f(x2); val1 = f(x1); if val*val1 >= 0 i = 99; end while i <= 4 val = f(x2); val1 = f(x1);24 temp = x2 - x1; temp1 = val - val1; nVal = temp/temp1; nVal = nVal * val; nVal = x2 - nVal; if (f(x2)*nVal <= 0) x1 = x2; x2 = nVal; else if (f(x1)*nVal <= 0) x2 = nVal; end end i = i+1; end fprintf('Point is %fn',x2) fprintf('At This Point Value is %fn',f(x2))