SlideShare a Scribd company logo
1 of 16
FALSE POSITION
METHOD
By SATYAJIT NAG-10.01.05.042

   H.M. ZUBAER -10.01.05.028

   MOSTOFA ZAMAN FAISAL-10.01.05.036
FINDING ROOTS / SOLVING
EQUATIONS
 The given quadratic formula provides a quick answer
  to all quadratic equations:
 Easy

                                       −b     b 2 − 4ac
         ax 2 +bx + c = 0       ⇒ x=
                                               2a
But, not easy


ax + bx + cx + dx + ex + f = 0
     5       4     3        2
                                                ⇒ x=?
   No exact general solution (formula) exists for equations
    with exponents greater than 4.
FINDING ROOTS…
   For this reason, we have to find out the root to
    solve the equation.

 However we can say how accurate our solution is
  as compared to the “exact” solution.
 One of the method is FALSE POSITION.
THE FALSE-POSITION METHOD               (REGULA-
FALSI)


  To refine the bisection method, we can choose a ‘false-
  position’ instead of the midpoint.
  The false-position is defined as the x position where a
  line connecting the two boundary points crosses the
  axis.
REGULA FALSI

 For   example, if f(xlow) is much closer to zero
  than f(xup), it is likely that the root is closer
  to xlow than to xup.
 False position method is an alternative
  approach where f(xlow) and f(xup) are joined
  by a straight line; the intersection of
  which with the x-axis represents and
  improved estimate of the root.
 The intersection of this line with the x
  axis represents an improved estimate of
  the root.
LINEAR INTERPOLATION METHOD
 The fact that the replacement of the curve by a
  straight line gives the false position of the root is
  the origin of the name, method of false position,
  or in Latin, Regula Falsi.
 It is also called the Linear Interpolation Method.
FALSE POSITION FORMULAE
   Using similar triangles, the intersection of the straight
    line with the x axis can be estimated as
     f ( xl )  f ( xu )
              =
     x −  xl   x −  xu
           f ( xu )( xl − )xu
     x = −
        xu
           f ( xl ) − xu )
                       f (



   This is the False Position formulae. The value of x then
    replaces whichever of the two initial guesses, low x or
    up x , yields a function value with the same sign as f (x)
    .
ALGORITHM
 Given   two guesses xlow, xup that bracket
    the root,
 Repeat              f ( xu )( xl − xu )
   Set       x = xu −
                      f ( xl ) − f ( xu )





 If f(xup) is of opposite sign to f(xlow) then
    Set xlow = xup
 Else Set xlow = x
 End If
 Until y< tolerance value.
CODE
   Find the real root of the equation d(x)=x5+x+1using Fasle
    Position Method. xlow = -1, xup =0 and ε = selected x tolerance =10^-4
    .

 clear all;
 close all;
 clc;
 xlow=-1;
 xup=0;
 xtol=10^-4;
 f=@(x)(x^5+x+1);
 x=xup-(f(xup)*(xlow-xup))/(f(xlow)-f(xup))
 y=f(x);
 iters=0;
CODE CONTINUED…..
 while    (((xup-x)/2>xtol)&& y>xtol)
     if (f(xlow)*f(x)>0)
         xlow=x;
     else xup=x;
     end
    x=xup-(f(xup)*(xlow-xup))/(f(xlow)-f(xup));
    y=f(x);
    iters=iters+1;
    end
x
y
 iters
MERITS & DEMERITS
   Merits
         As the interval becomes small, the interior
    point generally becomes much closer to root.
         Faster convergence than bisection.
         Often superior to bisection.
Demerits
            fa




             a                                       b


Problem with Regula Falsi -- if the graph is convex down, the
  interpolated point will repeatedly appear in the larger segment….
DEMERITS

   Demerits
          It can’t predict number of iterations to
    reach a give precision.
         It can be less precise than bisection – no
    strict precision guarantee.
 Though the difference between Bisection and
  False Position Method is little but for some cases
  False Position Method is useful and for some
  problems Bisection method is effective….
 In fact they both are necessary to solve any
  equation by ‘Bracketing method’.
THE END
Presentation aust final

More Related Content

What's hot

Functions and graphs
Functions and graphsFunctions and graphs
Functions and graphs
Sujata Tapare
 
Inverse functions and relations
Inverse functions and relationsInverse functions and relations
Inverse functions and relations
Jessica Garcia
 

What's hot (20)

8 arc length and area of surfaces x
8 arc length and area of surfaces x8 arc length and area of surfaces x
8 arc length and area of surfaces x
 
Es272 ch6
Es272 ch6Es272 ch6
Es272 ch6
 
Domain and range
Domain and rangeDomain and range
Domain and range
 
1.0 factoring trinomials the ac method and making lists-x
1.0 factoring trinomials  the ac method and making lists-x1.0 factoring trinomials  the ac method and making lists-x
1.0 factoring trinomials the ac method and making lists-x
 
18 ellipses x
18 ellipses x18 ellipses x
18 ellipses x
 
Newtons Divided Difference Formulation
Newtons Divided Difference FormulationNewtons Divided Difference Formulation
Newtons Divided Difference Formulation
 
Bisection and fixed point method
Bisection and fixed point methodBisection and fixed point method
Bisection and fixed point method
 
Rational expressions and rational equations
Rational expressions and rational equationsRational expressions and rational equations
Rational expressions and rational equations
 
Random variable
Random variableRandom variable
Random variable
 
RS Agarwal Quantitative Aptitude - 9 chap
RS Agarwal Quantitative Aptitude - 9 chapRS Agarwal Quantitative Aptitude - 9 chap
RS Agarwal Quantitative Aptitude - 9 chap
 
Higher order derivatives
Higher order derivativesHigher order derivatives
Higher order derivatives
 
Pigeonhole Principle,Cardinality,Countability
Pigeonhole Principle,Cardinality,CountabilityPigeonhole Principle,Cardinality,Countability
Pigeonhole Principle,Cardinality,Countability
 
Functions and graphs
Functions and graphsFunctions and graphs
Functions and graphs
 
Simpson’s one third and weddle's rule
Simpson’s one third and weddle's ruleSimpson’s one third and weddle's rule
Simpson’s one third and weddle's rule
 
Prime numbers
Prime numbersPrime numbers
Prime numbers
 
6 comparison statements, inequalities and intervals y
6 comparison statements, inequalities and intervals y6 comparison statements, inequalities and intervals y
6 comparison statements, inequalities and intervals y
 
Maximums and minimum
Maximums and minimum Maximums and minimum
Maximums and minimum
 
Inverse functions and relations
Inverse functions and relationsInverse functions and relations
Inverse functions and relations
 
4.1 the chain rule
4.1 the chain rule4.1 the chain rule
4.1 the chain rule
 
Limits
LimitsLimits
Limits
 

Viewers also liked

Regula falsi method
Regula falsi methodRegula falsi method
Regula falsi method
andrushow
 
The False-Position Method
The False-Position MethodThe False-Position Method
The False-Position Method
Tayyaba Abbas
 
Calculations of roots
Calculations of rootsCalculations of roots
Calculations of roots
oscar
 
False position
False positionFalse position
False position
uis
 
Bracketing or closed methods
Bracketing or closed methodsBracketing or closed methods
Bracketing or closed methods
andrushow
 

Viewers also liked (20)

Regulafalsi_bydinesh
Regulafalsi_bydineshRegulafalsi_bydinesh
Regulafalsi_bydinesh
 
Regula falsi method
Regula falsi methodRegula falsi method
Regula falsi method
 
The False-Position Method
The False-Position MethodThe False-Position Method
The False-Position Method
 
Calculations of roots
Calculations of rootsCalculations of roots
Calculations of roots
 
Bisection & Regual falsi methods
Bisection & Regual falsi methodsBisection & Regual falsi methods
Bisection & Regual falsi methods
 
False position
False positionFalse position
False position
 
Bracketing or closed methods
Bracketing or closed methodsBracketing or closed methods
Bracketing or closed methods
 
Bisection method
Bisection methodBisection method
Bisection method
 
Numerical Analysis (Solution of Non-Linear Equations) part 2
Numerical Analysis (Solution of Non-Linear Equations) part 2Numerical Analysis (Solution of Non-Linear Equations) part 2
Numerical Analysis (Solution of Non-Linear Equations) part 2
 
Applications of numerical methods
Applications of numerical methodsApplications of numerical methods
Applications of numerical methods
 
Lecture6
Lecture6Lecture6
Lecture6
 
Numerical Method
Numerical MethodNumerical Method
Numerical Method
 
Roots equation
Roots equationRoots equation
Roots equation
 
Es272 ch3a
Es272 ch3aEs272 ch3a
Es272 ch3a
 
Tabel.biseksi.regula falsi
Tabel.biseksi.regula falsiTabel.biseksi.regula falsi
Tabel.biseksi.regula falsi
 
bisection method
bisection methodbisection method
bisection method
 
Teori bilangan (induksi matematika)
Teori bilangan (induksi matematika)Teori bilangan (induksi matematika)
Teori bilangan (induksi matematika)
 
Bracketing Methods
Bracketing MethodsBracketing Methods
Bracketing Methods
 
BSCS | BSIT Thesis Guidelines
BSCS | BSIT Thesis GuidelinesBSCS | BSIT Thesis Guidelines
BSCS | BSIT Thesis Guidelines
 
Numerical Analysis (Solution of Non-Linear Equations)
Numerical Analysis (Solution of Non-Linear Equations)Numerical Analysis (Solution of Non-Linear Equations)
Numerical Analysis (Solution of Non-Linear Equations)
 

Similar to Presentation aust final

Roots of equations
Roots of equationsRoots of equations
Roots of equations
Mileacre
 
Equations root
Equations rootEquations root
Equations root
Mileacre
 
Solution of nonlinear_equations
Solution of nonlinear_equationsSolution of nonlinear_equations
Solution of nonlinear_equations
Tarun Gehlot
 
Secent method
Secent methodSecent method
Secent method
ritu1806
 
Root Equations Methods
Root Equations MethodsRoot Equations Methods
Root Equations Methods
UIS
 

Similar to Presentation aust final (20)

Adv. Num. Tech. 1 Roots of function.pdf
Adv. Num. Tech. 1 Roots of function.pdfAdv. Num. Tech. 1 Roots of function.pdf
Adv. Num. Tech. 1 Roots of function.pdf
 
Roots of equations
Roots of equationsRoots of equations
Roots of equations
 
Equations root
Equations rootEquations root
Equations root
 
Roots equation
Roots equationRoots equation
Roots equation
 
Analysis for engineers _roots_ overeruption
Analysis for engineers _roots_ overeruptionAnalysis for engineers _roots_ overeruption
Analysis for engineers _roots_ overeruption
 
Quantitive Techniques: Bisection method
Quantitive Techniques: Bisection methodQuantitive Techniques: Bisection method
Quantitive Techniques: Bisection method
 
Mit18 330 s12_chapter4
Mit18 330 s12_chapter4Mit18 330 s12_chapter4
Mit18 330 s12_chapter4
 
Bisection
BisectionBisection
Bisection
 
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
 
Cs229 notes8
Cs229 notes8Cs229 notes8
Cs229 notes8
 
Roots of equations
Roots of equations Roots of equations
Roots of equations
 
Solution of nonlinear_equations
Solution of nonlinear_equationsSolution of nonlinear_equations
Solution of nonlinear_equations
 
Ch 2
Ch 2Ch 2
Ch 2
 
Bca numer
Bca numerBca numer
Bca numer
 
Quadrature
QuadratureQuadrature
Quadrature
 
Secent method
Secent methodSecent method
Secent method
 
Root Equations Methods
Root Equations MethodsRoot Equations Methods
Root Equations Methods
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Sol78
Sol78Sol78
Sol78
 
Sol78
Sol78Sol78
Sol78
 

Recently uploaded

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Recently uploaded (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 

Presentation aust final

  • 1. FALSE POSITION METHOD By SATYAJIT NAG-10.01.05.042 H.M. ZUBAER -10.01.05.028 MOSTOFA ZAMAN FAISAL-10.01.05.036
  • 2. FINDING ROOTS / SOLVING EQUATIONS  The given quadratic formula provides a quick answer to all quadratic equations:  Easy −b  b 2 − 4ac ax 2 +bx + c = 0 ⇒ x= 2a But, not easy ax + bx + cx + dx + ex + f = 0 5 4 3 2 ⇒ x=?  No exact general solution (formula) exists for equations with exponents greater than 4.
  • 3. FINDING ROOTS…  For this reason, we have to find out the root to solve the equation.  However we can say how accurate our solution is as compared to the “exact” solution.  One of the method is FALSE POSITION.
  • 4. THE FALSE-POSITION METHOD (REGULA- FALSI) To refine the bisection method, we can choose a ‘false- position’ instead of the midpoint. The false-position is defined as the x position where a line connecting the two boundary points crosses the axis.
  • 5. REGULA FALSI  For example, if f(xlow) is much closer to zero than f(xup), it is likely that the root is closer to xlow than to xup.  False position method is an alternative approach where f(xlow) and f(xup) are joined by a straight line; the intersection of which with the x-axis represents and improved estimate of the root.  The intersection of this line with the x axis represents an improved estimate of the root.
  • 6. LINEAR INTERPOLATION METHOD  The fact that the replacement of the curve by a straight line gives the false position of the root is the origin of the name, method of false position, or in Latin, Regula Falsi.  It is also called the Linear Interpolation Method.
  • 7. FALSE POSITION FORMULAE  Using similar triangles, the intersection of the straight line with the x axis can be estimated as f ( xl ) f ( xu ) = x − xl x − xu f ( xu )( xl − )xu x = − xu f ( xl ) − xu ) f (  This is the False Position formulae. The value of x then replaces whichever of the two initial guesses, low x or up x , yields a function value with the same sign as f (x) .
  • 8. ALGORITHM  Given two guesses xlow, xup that bracket the root,  Repeat f ( xu )( xl − xu ) Set x = xu − f ( xl ) − f ( xu )   If f(xup) is of opposite sign to f(xlow) then  Set xlow = xup  Else Set xlow = x  End If  Until y< tolerance value.
  • 9. CODE  Find the real root of the equation d(x)=x5+x+1using Fasle Position Method. xlow = -1, xup =0 and ε = selected x tolerance =10^-4 .  clear all;  close all;  clc;  xlow=-1;  xup=0;  xtol=10^-4;  f=@(x)(x^5+x+1);  x=xup-(f(xup)*(xlow-xup))/(f(xlow)-f(xup))  y=f(x);  iters=0;
  • 10. CODE CONTINUED…..  while (((xup-x)/2>xtol)&& y>xtol)  if (f(xlow)*f(x)>0)  xlow=x;  else xup=x;  end  x=xup-(f(xup)*(xlow-xup))/(f(xlow)-f(xup));  y=f(x);  iters=iters+1;  end x y  iters
  • 11. MERITS & DEMERITS  Merits As the interval becomes small, the interior point generally becomes much closer to root. Faster convergence than bisection. Often superior to bisection.
  • 12. Demerits fa a b Problem with Regula Falsi -- if the graph is convex down, the interpolated point will repeatedly appear in the larger segment….
  • 13. DEMERITS  Demerits It can’t predict number of iterations to reach a give precision. It can be less precise than bisection – no strict precision guarantee.
  • 14.  Though the difference between Bisection and False Position Method is little but for some cases False Position Method is useful and for some problems Bisection method is effective….  In fact they both are necessary to solve any equation by ‘Bracketing method’.