SlideShare a Scribd company logo
Zhengqiu Zhang
International Journal of Experimental Algorithms (IJEA), Volume (2) : Issue (1) : 2011 21
An Improvement to the Brent’s Method
Zhengqiu Zhang zqzhang@cams.cma.gov.cn
Chinese Academy of Meteorological Sciences
Beijing, 100081,China
Abstract
This study presents an improvement to Brent’s method by reconstruction. The Brent’s method
determines the next iteration interval from two subsections, whereas the new method determines
the next iteration interval from three subsections constructed by four given points and thus can
greatly reduce the iteration interval length.
The new method not only gets more readable but also converges faster. An experiment is made
to investigate its performance. Results show that, after simplification, the computational efficiency
can greatly be improved.
Keywords: Brent’s Method, Simplification, Improvement.
1. INTRODUCTION
Brent’s method, which is proposed by Brent (1973)[1] and introduced in many numerical books
[2], is a root-finding algorithm with combining root bracketing, bisection and inverse quadratic
interpolation, based on Dekker’s method [3] to avoid the problem that it converges very slowly, in
particular, when 1−− kk bb may be arbitrarily small, where k is the index for iterative steps.
Brent (1973) published an Algol 60 implementation. Netlib contains a Fortran translation of this
implementation with slight modifications. The MATLAB function fzero also implements Brent's
method [4], as does the PARI/GP method solve. Other implementations of the algorithm (in C++,
C, and Fortran) can be found in the Numerical Recipes books [5]. However, due to the difficulty to
understand this algorithm, this method was replaced by Ridders’ method [6], as mentioned in
some books [7].
2. IMPROVEMENT OF THE BRENT’S METHOD
2.1 Comparisons Between the Brent’s Method and the Simplification
The original Brent’s algorithm can be easily found on many websites such as Wikipedia (Brent's
method)[8], for comparison it is reprinted here:
• input a, b, and a pointer to a subroutine for f
• calculate f(a)
• calculate f(b)
• if f(a) f(b) >= 0 then error-exit end if
• if |f(a)| < |f(b)| then swap (a,b) end if
• c := a
• set mflag
• repeat until f(b or s) = 0 or |b − a| is small enough (convergence)
o if f(a) ≠ f(c) and f(b) ≠ f(c) then
calculate s (inverse quadratic interpolation)
o else
Zhengqiu Zhang
International Journal of Experimental Algorithms (IJEA), Volume (2) : Issue (1) : 2011 22
calculate s (secant rule)
o end if
o if (condition 1) s is not between (3a + b)/4 and b
or (condition 2) (mflag is set and |s−b| ≥ |b−c| / 2)
or (condition 3) (mflag is cleared and |s−b| ≥ |c−d| / 2)
or (condition 4) (mflag is set and |b−c| < |δ|)
or (condition 5) (mflag is cleared and |c−d| < |δ|)
then
(bisection method)
set mflag
o else
clear mflag
o end if
o calculate f(s)
o d := c (d is asigned for the first time here, it won't be used above on the first
iteration because mflag is set)
o c := b
o if f(a) f(s) < 0 then b:= s else a := s end if
o if |f(a)| < |f(b)| then swap (a,b) end if
• end repeat
• output b or s (return the root)
As seen from the above, the Brent’s method is very complicated and difficult to understand. It is
obvious that, the algorithm still preserves the idea that determines the next iteration interval from
two subsections, in which one endpoint of previous interval is replaced with the new one
calculated using inverse quadratic interpolation.
According to the computation, three points will be used for the next inverse quadratic interpolation,
one is b, another is s, which will be one of the two endpoints of the next interval, and the other will
be b or a. When it takes a = s, then f(a)=f(c), the Brent’s method will use the secant rule algorithm.
To simplify the Brent’s method, we can add one more evaluation for the function at the middle
point c = (a + b)/2 before the interpolation. The simplified scheme now becomes as follows:
• input a, b, and a pointer to a subroutine for f
• calculate f(a)
• calculate f(b)
• if f(a) f(b) >= 0 then error-exit end if
• repeat until f(b or s) = 0 or |b − a| is small enough (convergence)
o c =(a+b)/2
o calculate f(c)
o if f(a) ≠ f(c) and f(b) ≠ f(c) then
calculate s (inverse quadratic interpolation)
o else
calculate s (secant rule)
o end if
o calculate f(s)
o if c> s then swap(s,c)
o if f(c) f(s) < 0 then
a: = s
b: = c
o else
if f(s) f(b) < 0 then a: = c else b: = s endif
o end if
• end repeat
Zhengqiu Zhang
International Journal of Experimental Algorithms (IJEA), Volume (2) : Issue (1) : 2011 23
• output b or s (return the root)
As seen from the above, after simplification, the new algorithm becomes much brief, more easily
readable and understandable. Also, we don’t need set the mflag, reducing several of its related
conditions.
In the new algorithm, it is assumed that a < b, and c is the middle. If the interploated point (s) is
less than c, then swap s and c, which makes the four points intersected with x–axis be labelled in
the order of a, c, s and b by their coordinates.
Note that, for the above two methods, to avoid calulating the function again, when swapping or
assigning a variable to another, the function variable also needs to do the same, accordingly.
2.2 Analysis on the Advantages of the New Algorithm
Because the new algorithm added one more evaluation for the root-finding function, one step of
iteration for it will be equivalent to two steps of the Brent’s method. This will provide it with several
advantages over the original Brent’s method.
a) Reducing the Times for Evaluating the Conditions
Since for each step the Brent’s method must evaluate the condition: if ( 21 ff × <0), two iterations
must need two times of such judgment. Whereas for the new algorithm, its conditional judgment
is: If…else, two times of evaluating the root-finding function each loop just does the judgment
once.
Therefore, it is obvious that the new algorithm spends less time to do the judgment after two
times of the function evaluation than the Brent’s method.
b) Accelerating Reduction of the Convergence Interval
By introducing the evaluation at the middle point, in each iterative loop for the new algorithm, the
convergence interval must reduce more than half of the previous interval, but two iterations of the
Brent’s method could not.
Although it will get more accurate interpolated point using the inverse quadratic interpolation, two
iterations can’t guarantee the next interval reduces half of its previous. It is easy to find such an
example. Suppose current iterative interval is [a, b], which can be divided into two half. If two
continuous interpolated points are located in the same half region, it can’t guarantee the last
interval length reduces that much.
Since the Brent’s method uses the bisection method under some conditions, it is obvious that the
new method can more greatly reduce the next interval length.
2.3 Comparisons With Ridders’ Method
Before modification, Ridder’s method is simpler than Brent’s method, but Press et al. claim that it
usually performs about as well [9]. However, the new revised Brent’s method becomes as simple
as the Ridder’s method. They have the same feature as that they converge quadratically, which
implies that the number of additional significant digits doubles at each step, and the function has
to be evaluated twice for each step, but the revised Brent’s method converges faster.
Zhengqiu Zhang
International Journal of Experimental Algorithms (IJEA), Volume (2) : Issue (1) : 2011 24
The Ridders’ method can be described as follows ("exponential case"). Given three x values {x0,
x1, x2} evenly spaced by interval d0 at which the function f(x) has been calculated, a function p(x)
in an exponential form is found which takes the same values as f(x) at the three points, then x3 is
found as the point where p(x) = 0. Once x3 has been found, the closest one of the original three
points is used as one of the three new points, along with one more new point chosen so as to
have three equally spaced points with x3 in the middle.
Compared with Ridders’ method, although the simplified Brent’s method and the Ridders’ method
both determine the next iterative subsection via four points {x0, x1, x2, x3}, the simplified Brent’s
method will have a narrower converging subsection for the next iteration than that of Ridders’
method does, as can be seen from their actions to search for the converging subsection. That is,
the next iterative subsection for the new method is one of the three subsections formed by the
four points, whereas the next iterative subsection for Ridders’ method is the subsection double
extended on one of the three subsections.
3. EXPERIMENTAL TEST
From the above analysis, we can tell the new algorithm will be faster than the Brent’s method. To
confirm it, the following experiment will be used to test and compare their efficiencies. Simply,
let’s find one root of
0)cos( 3
=− xx ,
Using the two methods with iteration, respectively. For the initial, set a=-4 and b=4 as the two
endpoints of a section in which the root will be located. And iteration termination error is given to
be 1.0E-5.
3.1 Analysis on the Advantages of the New Algorithm
Due to one more evaluation of the root-finding function is needed for the new method in each do-
loop, equivalent to two times of iterations for the Brent’s method. To make them comparable, we
compare the times of the function evaluation for the two methods.
TABLE 1: Comparisons between the results from the two methods.
Step Brent’s method The new method
(a, b) ∆ (a, b) ∆
1 4 .000000 0.000000 4.000000 — — —
2 2.000000 0.000000 2.000000 0.000000 4.000000 4.000000
3 0.000000 1.000000 1.000000 — — —
4 1.000000 0.685073 0.314927 0.235070 2.000000 1.764930
5 1.000000 0.842537 0.157463 — — —
6 0.921268 0.842537 0.078732 0.710220 1.117535 0.407315
7 0.842537 0.881903 0.039366 — — —
8 0.881903 0.865107 0.016796 0.862843 0.913877 0.051035
9 0.873505 0.865107 0.008398 — — —
10 0.869306 0.865107 0.004199 0.865470 0.888360 0.022890
11 0.867206 0.865107 0.002099 — — —
12 0.866156 0.865107 0.001050 0.865470 0.865474 0.000004
13 0.865107 0.865631 0.000525
14 0.865631 0.865474 0.000157
15 0.865553 0.865474 0.000079
16 0.865513 0.865474 0.000039
17 0.865494 0.865474 0.000020
Zhengqiu Zhang
International Journal of Experimental Algorithms (IJEA), Volume (2) : Issue (1) : 2011 25
Before comparison, we design two programs for the two methods with C or other languages,
respectively. The endpoints a, b and the interval length at each step are printed as in Table 1.
In the table, the “—“ represents the function has to be evaluated twice. As seen from the table,
under the given iteration termination error, the new method can reach the real root more quickly,
with fewer iteration steps. Similar to Dekker’s method (1969), when ba − gets arbitrarily small,
the computation of the Brent’s method converges very slowly.
3.2 Converging Speed
Generally, there are several factors that affect the converging speed, which includes the
calculations of the function )(xf , the interpolation, the conditional judgment and so on.
In practice, we can use computer system functions to record time consumptions for the both
methods. However, for simplicity, the following just gives an analysis on their computational
efficiencies.
As seen from the above experiment, when getting the root of the equation, the new method
needs to calculate 12 times of the function:
3
)cos()( xxxf −= ,
While the Brent’s method needs to calculate )(xf for 18 times. Since )(xf is the same,
indicating one time calculation of the function for the two methods need the same computational
time, thus the new method spends less total time on evaluating the )(xf . On the other hand, the
above analysis and the code’s structures also indicated that the new method needs less time.
Briefly, comparing with the original Brent’s method, the new algorithm not only gets more
understandable but also will improve its computational efficiency.
4. CONCLUSIONS
This study proposes an improvement to the Brent’s method, and a comparative experiment test
was conducted. The new algorithm is simpler and more easily understandable. Experimental
results and analysis indicated that the proposed method converges faster. Other experiments
also show this advantage.
In short, the proposed method has a lot of advantages over the original Brent’s method, and it will
be useful for engineering computations.
5. REFERENCES
[1] Brent, R.P., Algorithms for Minimization without Derivatives, Chapter 4. Prentice- Hall,
Englewood Cliffs, NJ. ISBN 0-13-022335-2,1973.
[2] Antia,H.M., Numerical Methods for Scientists and Engineers, Birkhäuser, 2002, pp.362-365,2
ed.
[3] Dekker, T. J. Finding a zero by means of successive linear interpolation, In B. Dejon and P.
Henrici (eds), Constructive Aspects of the Fundamental Theorem of Algebra, Wiley-
Interscience, London, SBN 471-28300-9,1969.
[4] Alfio Quarteroni, Fausto Saleri. Scientific Computing with MATLAB (Texts in Computational
Science and Engineering 2), Springer, 2003, pp.52.
Zhengqiu Zhang
International Journal of Experimental Algorithms (IJEA), Volume (2) : Issue (1) : 2011 26
[5] William H. Press, Saul A. Teukolsky, William T. Vetterling and Brian P. Flannery. Numerical
Recipes in C, The Art of Scientific Computing Second Edition, Cambridge University Press,
November 27, 1992, pp. 358–362.
[6] Ridders, C.J.F. “ Three-point iterations derived from exponential curve fitting ”, IEEE
Transactions on Circuits and Systems 26 (8): 669-670,1979.
[7] Jaan Kiusalaas. Numerical Methods in Engineering with Python, 2nd Edition, Cambridge
University Press, 2010.
[8] Wikipedia contributors. “ Brent's method. Wikipedia ”, The Free Encyclopedia. Wikipedia, The
Free Encyclopedia, 13 Apr. 2010. Web. 13 May. 2010.
[9] Press, W.H.; S.A. Teukolsky, W.T. Vetterling, B.P. Flannery. Numerical Recipes in C: The Art
of Scientific Computing (2nd ed.). Cambridge UK: Cambridge University Press.1992, pp.
358–359.

More Related Content

What's hot

Digital Signal Processing Assignment Help
Digital Signal Processing Assignment HelpDigital Signal Processing Assignment Help
Digital Signal Processing Assignment Help
Matlab Assignment Experts
 
tw1979 Exercise 2 Report
tw1979 Exercise 2 Reporttw1979 Exercise 2 Report
tw1979 Exercise 2 Report
Thomas Wigg
 
tw1979 Exercise 1 Report
tw1979 Exercise 1 Reporttw1979 Exercise 1 Report
tw1979 Exercise 1 Report
Thomas Wigg
 
Chapter 3
Chapter 3Chapter 3
tw1979 Exercise 3 Report
tw1979 Exercise 3 Reporttw1979 Exercise 3 Report
tw1979 Exercise 3 Report
Thomas Wigg
 
Seminar Report (Final)
Seminar Report (Final)Seminar Report (Final)
Seminar Report (Final)
Aruneel Das
 
Digital Signal Processing Homework Help
Digital Signal Processing Homework HelpDigital Signal Processing Homework Help
Digital Signal Processing Homework Help
Matlab Assignment Experts
 
Highly accurate log skew normal
Highly accurate log skew normalHighly accurate log skew normal
Highly accurate log skew normal
csandit
 
25010001
2501000125010001
Buckingham π theorem wikipedia
Buckingham π theorem   wikipediaBuckingham π theorem   wikipedia
Buckingham π theorem wikipedia
Thim Mengly(ម៉េងលី,孟李)
 
A study on_contrast_and_comparison_between_bellman-ford_algorithm_and_dijkstr...
A study on_contrast_and_comparison_between_bellman-ford_algorithm_and_dijkstr...A study on_contrast_and_comparison_between_bellman-ford_algorithm_and_dijkstr...
A study on_contrast_and_comparison_between_bellman-ford_algorithm_and_dijkstr...
Khoa Mac Tu
 
Bisection method
Bisection methodBisection method
Bisection method
Md. Mujahid Islam
 
A Novel Cosine Approximation for High-Speed Evaluation of DCT
A Novel Cosine Approximation for High-Speed Evaluation of DCTA Novel Cosine Approximation for High-Speed Evaluation of DCT
A Novel Cosine Approximation for High-Speed Evaluation of DCT
CSCJournals
 
Bisection method in maths 4
Bisection method in maths 4Bisection method in maths 4
Bisection method in maths 4
Vaidik Trivedi
 
24 kestirim-omar
24 kestirim-omar24 kestirim-omar
24 kestirim-omar
ZOZONork1
 
The Elegant Nature of the Tschebyscheff Impedance Transformer and Its Utility...
The Elegant Nature of the Tschebyscheff Impedance Transformer and Its Utility...The Elegant Nature of the Tschebyscheff Impedance Transformer and Its Utility...
The Elegant Nature of the Tschebyscheff Impedance Transformer and Its Utility...
Dan Hillman
 
TIME OF ARRIVAL BASED LOCALIZATION IN WIRELESS SENSOR NETWORKS: A LINEAR APPR...
TIME OF ARRIVAL BASED LOCALIZATION IN WIRELESS SENSOR NETWORKS: A LINEAR APPR...TIME OF ARRIVAL BASED LOCALIZATION IN WIRELESS SENSOR NETWORKS: A LINEAR APPR...
TIME OF ARRIVAL BASED LOCALIZATION IN WIRELESS SENSOR NETWORKS: A LINEAR APPR...
sipij
 
香港六合彩
香港六合彩香港六合彩
香港六合彩
baoyin
 

What's hot (18)

Digital Signal Processing Assignment Help
Digital Signal Processing Assignment HelpDigital Signal Processing Assignment Help
Digital Signal Processing Assignment Help
 
tw1979 Exercise 2 Report
tw1979 Exercise 2 Reporttw1979 Exercise 2 Report
tw1979 Exercise 2 Report
 
tw1979 Exercise 1 Report
tw1979 Exercise 1 Reporttw1979 Exercise 1 Report
tw1979 Exercise 1 Report
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
tw1979 Exercise 3 Report
tw1979 Exercise 3 Reporttw1979 Exercise 3 Report
tw1979 Exercise 3 Report
 
Seminar Report (Final)
Seminar Report (Final)Seminar Report (Final)
Seminar Report (Final)
 
Digital Signal Processing Homework Help
Digital Signal Processing Homework HelpDigital Signal Processing Homework Help
Digital Signal Processing Homework Help
 
Highly accurate log skew normal
Highly accurate log skew normalHighly accurate log skew normal
Highly accurate log skew normal
 
25010001
2501000125010001
25010001
 
Buckingham π theorem wikipedia
Buckingham π theorem   wikipediaBuckingham π theorem   wikipedia
Buckingham π theorem wikipedia
 
A study on_contrast_and_comparison_between_bellman-ford_algorithm_and_dijkstr...
A study on_contrast_and_comparison_between_bellman-ford_algorithm_and_dijkstr...A study on_contrast_and_comparison_between_bellman-ford_algorithm_and_dijkstr...
A study on_contrast_and_comparison_between_bellman-ford_algorithm_and_dijkstr...
 
Bisection method
Bisection methodBisection method
Bisection method
 
A Novel Cosine Approximation for High-Speed Evaluation of DCT
A Novel Cosine Approximation for High-Speed Evaluation of DCTA Novel Cosine Approximation for High-Speed Evaluation of DCT
A Novel Cosine Approximation for High-Speed Evaluation of DCT
 
Bisection method in maths 4
Bisection method in maths 4Bisection method in maths 4
Bisection method in maths 4
 
24 kestirim-omar
24 kestirim-omar24 kestirim-omar
24 kestirim-omar
 
The Elegant Nature of the Tschebyscheff Impedance Transformer and Its Utility...
The Elegant Nature of the Tschebyscheff Impedance Transformer and Its Utility...The Elegant Nature of the Tschebyscheff Impedance Transformer and Its Utility...
The Elegant Nature of the Tschebyscheff Impedance Transformer and Its Utility...
 
TIME OF ARRIVAL BASED LOCALIZATION IN WIRELESS SENSOR NETWORKS: A LINEAR APPR...
TIME OF ARRIVAL BASED LOCALIZATION IN WIRELESS SENSOR NETWORKS: A LINEAR APPR...TIME OF ARRIVAL BASED LOCALIZATION IN WIRELESS SENSOR NETWORKS: A LINEAR APPR...
TIME OF ARRIVAL BASED LOCALIZATION IN WIRELESS SENSOR NETWORKS: A LINEAR APPR...
 
香港六合彩
香港六合彩香港六合彩
香港六合彩
 

Viewers also liked

A Proposed Web Accessibility Framework for the Arab Disabled
A Proposed Web Accessibility Framework for the Arab DisabledA Proposed Web Accessibility Framework for the Arab Disabled
A Proposed Web Accessibility Framework for the Arab Disabled
Waqas Tariq
 
Application of Mobile Technology in Waste Collection
Application of Mobile Technology in Waste CollectionApplication of Mobile Technology in Waste Collection
Application of Mobile Technology in Waste Collection
Waqas Tariq
 
New Approach of Prediction of Sidoarjo Hot Mudflow Disastered Area Based on P...
New Approach of Prediction of Sidoarjo Hot Mudflow Disastered Area Based on P...New Approach of Prediction of Sidoarjo Hot Mudflow Disastered Area Based on P...
New Approach of Prediction of Sidoarjo Hot Mudflow Disastered Area Based on P...
Waqas Tariq
 
Domain Specific Named Entity Recognition Using Supervised Approach
Domain Specific Named Entity Recognition Using Supervised ApproachDomain Specific Named Entity Recognition Using Supervised Approach
Domain Specific Named Entity Recognition Using Supervised Approach
Waqas Tariq
 
Institutional Investors Heterogeneity And Earnings Management: The R&D Invest...
Institutional Investors Heterogeneity And Earnings Management: The R&D Invest...Institutional Investors Heterogeneity And Earnings Management: The R&D Invest...
Institutional Investors Heterogeneity And Earnings Management: The R&D Invest...
Waqas Tariq
 
Language Combinatorics: A Sentence Pattern Extraction Architecture Based on C...
Language Combinatorics: A Sentence Pattern Extraction Architecture Based on C...Language Combinatorics: A Sentence Pattern Extraction Architecture Based on C...
Language Combinatorics: A Sentence Pattern Extraction Architecture Based on C...
Waqas Tariq
 
A Design of fuzzy controller for Autonomous Navigation of Unmanned Vehicle
A Design of fuzzy controller for Autonomous Navigation of Unmanned VehicleA Design of fuzzy controller for Autonomous Navigation of Unmanned Vehicle
A Design of fuzzy controller for Autonomous Navigation of Unmanned Vehicle
Waqas Tariq
 
Using Met-modeling Graph Grammars and R-Maude to Process and Simulate LRN Models
Using Met-modeling Graph Grammars and R-Maude to Process and Simulate LRN ModelsUsing Met-modeling Graph Grammars and R-Maude to Process and Simulate LRN Models
Using Met-modeling Graph Grammars and R-Maude to Process and Simulate LRN Models
Waqas Tariq
 
Logistic Loglogistic With Long Term Survivors For Split Population Model
Logistic Loglogistic With Long Term Survivors For Split Population ModelLogistic Loglogistic With Long Term Survivors For Split Population Model
Logistic Loglogistic With Long Term Survivors For Split Population Model
Waqas Tariq
 
Dynamic Construction of Telugu Speech Corpus for Voice Enabled Text Editor
Dynamic Construction of Telugu Speech Corpus for Voice Enabled Text EditorDynamic Construction of Telugu Speech Corpus for Voice Enabled Text Editor
Dynamic Construction of Telugu Speech Corpus for Voice Enabled Text Editor
Waqas Tariq
 
Cloud-Based Environmental Impact Assessment Expert System – A Case Study of Fiji
Cloud-Based Environmental Impact Assessment Expert System – A Case Study of FijiCloud-Based Environmental Impact Assessment Expert System – A Case Study of Fiji
Cloud-Based Environmental Impact Assessment Expert System – A Case Study of Fiji
Waqas Tariq
 
Real Time Blinking Detection Based on Gabor Filter
Real Time Blinking Detection Based on Gabor FilterReal Time Blinking Detection Based on Gabor Filter
Real Time Blinking Detection Based on Gabor Filter
Waqas Tariq
 
Impact of Defence Offsets On The Companies of The Participating Industry - A ...
Impact of Defence Offsets On The Companies of The Participating Industry - A ...Impact of Defence Offsets On The Companies of The Participating Industry - A ...
Impact of Defence Offsets On The Companies of The Participating Industry - A ...
Waqas Tariq
 
General Principles of User Interface Design and Websites
General Principles of User Interface Design and WebsitesGeneral Principles of User Interface Design and Websites
General Principles of User Interface Design and Websites
Waqas Tariq
 
Design Auto Adjust Sliding Surface Slope: Applied to Robot Manipulator
Design Auto Adjust Sliding Surface Slope: Applied to Robot ManipulatorDesign Auto Adjust Sliding Surface Slope: Applied to Robot Manipulator
Design Auto Adjust Sliding Surface Slope: Applied to Robot Manipulator
Waqas Tariq
 
V/F Control of Squirrel Cage Induction Motor Drives Without Flux or Torque Me...
V/F Control of Squirrel Cage Induction Motor Drives Without Flux or Torque Me...V/F Control of Squirrel Cage Induction Motor Drives Without Flux or Torque Me...
V/F Control of Squirrel Cage Induction Motor Drives Without Flux or Torque Me...
Waqas Tariq
 
Query Processing with k-Anonymity
Query Processing with k-AnonymityQuery Processing with k-Anonymity
Query Processing with k-Anonymity
Waqas Tariq
 

Viewers also liked (17)

A Proposed Web Accessibility Framework for the Arab Disabled
A Proposed Web Accessibility Framework for the Arab DisabledA Proposed Web Accessibility Framework for the Arab Disabled
A Proposed Web Accessibility Framework for the Arab Disabled
 
Application of Mobile Technology in Waste Collection
Application of Mobile Technology in Waste CollectionApplication of Mobile Technology in Waste Collection
Application of Mobile Technology in Waste Collection
 
New Approach of Prediction of Sidoarjo Hot Mudflow Disastered Area Based on P...
New Approach of Prediction of Sidoarjo Hot Mudflow Disastered Area Based on P...New Approach of Prediction of Sidoarjo Hot Mudflow Disastered Area Based on P...
New Approach of Prediction of Sidoarjo Hot Mudflow Disastered Area Based on P...
 
Domain Specific Named Entity Recognition Using Supervised Approach
Domain Specific Named Entity Recognition Using Supervised ApproachDomain Specific Named Entity Recognition Using Supervised Approach
Domain Specific Named Entity Recognition Using Supervised Approach
 
Institutional Investors Heterogeneity And Earnings Management: The R&D Invest...
Institutional Investors Heterogeneity And Earnings Management: The R&D Invest...Institutional Investors Heterogeneity And Earnings Management: The R&D Invest...
Institutional Investors Heterogeneity And Earnings Management: The R&D Invest...
 
Language Combinatorics: A Sentence Pattern Extraction Architecture Based on C...
Language Combinatorics: A Sentence Pattern Extraction Architecture Based on C...Language Combinatorics: A Sentence Pattern Extraction Architecture Based on C...
Language Combinatorics: A Sentence Pattern Extraction Architecture Based on C...
 
A Design of fuzzy controller for Autonomous Navigation of Unmanned Vehicle
A Design of fuzzy controller for Autonomous Navigation of Unmanned VehicleA Design of fuzzy controller for Autonomous Navigation of Unmanned Vehicle
A Design of fuzzy controller for Autonomous Navigation of Unmanned Vehicle
 
Using Met-modeling Graph Grammars and R-Maude to Process and Simulate LRN Models
Using Met-modeling Graph Grammars and R-Maude to Process and Simulate LRN ModelsUsing Met-modeling Graph Grammars and R-Maude to Process and Simulate LRN Models
Using Met-modeling Graph Grammars and R-Maude to Process and Simulate LRN Models
 
Logistic Loglogistic With Long Term Survivors For Split Population Model
Logistic Loglogistic With Long Term Survivors For Split Population ModelLogistic Loglogistic With Long Term Survivors For Split Population Model
Logistic Loglogistic With Long Term Survivors For Split Population Model
 
Dynamic Construction of Telugu Speech Corpus for Voice Enabled Text Editor
Dynamic Construction of Telugu Speech Corpus for Voice Enabled Text EditorDynamic Construction of Telugu Speech Corpus for Voice Enabled Text Editor
Dynamic Construction of Telugu Speech Corpus for Voice Enabled Text Editor
 
Cloud-Based Environmental Impact Assessment Expert System – A Case Study of Fiji
Cloud-Based Environmental Impact Assessment Expert System – A Case Study of FijiCloud-Based Environmental Impact Assessment Expert System – A Case Study of Fiji
Cloud-Based Environmental Impact Assessment Expert System – A Case Study of Fiji
 
Real Time Blinking Detection Based on Gabor Filter
Real Time Blinking Detection Based on Gabor FilterReal Time Blinking Detection Based on Gabor Filter
Real Time Blinking Detection Based on Gabor Filter
 
Impact of Defence Offsets On The Companies of The Participating Industry - A ...
Impact of Defence Offsets On The Companies of The Participating Industry - A ...Impact of Defence Offsets On The Companies of The Participating Industry - A ...
Impact of Defence Offsets On The Companies of The Participating Industry - A ...
 
General Principles of User Interface Design and Websites
General Principles of User Interface Design and WebsitesGeneral Principles of User Interface Design and Websites
General Principles of User Interface Design and Websites
 
Design Auto Adjust Sliding Surface Slope: Applied to Robot Manipulator
Design Auto Adjust Sliding Surface Slope: Applied to Robot ManipulatorDesign Auto Adjust Sliding Surface Slope: Applied to Robot Manipulator
Design Auto Adjust Sliding Surface Slope: Applied to Robot Manipulator
 
V/F Control of Squirrel Cage Induction Motor Drives Without Flux or Torque Me...
V/F Control of Squirrel Cage Induction Motor Drives Without Flux or Torque Me...V/F Control of Squirrel Cage Induction Motor Drives Without Flux or Torque Me...
V/F Control of Squirrel Cage Induction Motor Drives Without Flux or Torque Me...
 
Query Processing with k-Anonymity
Query Processing with k-AnonymityQuery Processing with k-Anonymity
Query Processing with k-Anonymity
 

Similar to An Improvement to the Brent’s Method

Comments on An Improvement to the Brent’s Method
Comments on An Improvement to the Brent’s MethodComments on An Improvement to the Brent’s Method
Comments on An Improvement to the Brent’s Method
Waqas Tariq
 
Unit4
Unit4Unit4
Trapezoidal Rule
Trapezoidal RuleTrapezoidal Rule
Trapezoidal Rule
Saloni Singhal
 
An efficient hardware logarithm generator with modified quasi-symmetrical app...
An efficient hardware logarithm generator with modified quasi-symmetrical app...An efficient hardware logarithm generator with modified quasi-symmetrical app...
An efficient hardware logarithm generator with modified quasi-symmetrical app...
IJECEIAES
 
Master’s theorem Derivative Analysis
Master’s theorem Derivative AnalysisMaster’s theorem Derivative Analysis
Master’s theorem Derivative Analysis
IRJET Journal
 
1406
14061406
Ijetcas14 546
Ijetcas14 546Ijetcas14 546
Ijetcas14 546
Iasir Journals
 
Cpnm lect 2-4
Cpnm lect 2-4Cpnm lect 2-4
Cpnm lect 2-4
SANDIP GHARAT
 
F0333034038
F0333034038F0333034038
F0333034038
inventionjournals
 
Ijetr011961
Ijetr011961Ijetr011961
Ijetr011961
ER Publication.org
 
Paper id 36201517
Paper id 36201517Paper id 36201517
Paper id 36201517
IJRAT
 
Numerical disperison analysis of sympletic and adi scheme
Numerical disperison analysis of sympletic and adi schemeNumerical disperison analysis of sympletic and adi scheme
Numerical disperison analysis of sympletic and adi scheme
xingangahu
 
Eryk_Kulikowski_a3
Eryk_Kulikowski_a3Eryk_Kulikowski_a3
Eryk_Kulikowski_a3
Eryk Kulikowski
 
NACA Regula Falsi Method
 NACA Regula Falsi Method NACA Regula Falsi Method
NACA Regula Falsi Method
Mujeeb UR Rahman
 
Integration
IntegrationIntegration
Integration
Success Olawale
 
Laboratory 7
Laboratory 7Laboratory 7
Laboratory 7
Shafiul Omam
 
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
SSA KPI
 
Ijetr021210
Ijetr021210Ijetr021210
Ijetr021210
Ijetr021210Ijetr021210
Ijetr021210
ER Publication.org
 
Approximate Thin Plate Spline Mappings
Approximate Thin Plate Spline MappingsApproximate Thin Plate Spline Mappings
Approximate Thin Plate Spline Mappings
Archzilon Eshun-Davies
 

Similar to An Improvement to the Brent’s Method (20)

Comments on An Improvement to the Brent’s Method
Comments on An Improvement to the Brent’s MethodComments on An Improvement to the Brent’s Method
Comments on An Improvement to the Brent’s Method
 
Unit4
Unit4Unit4
Unit4
 
Trapezoidal Rule
Trapezoidal RuleTrapezoidal Rule
Trapezoidal Rule
 
An efficient hardware logarithm generator with modified quasi-symmetrical app...
An efficient hardware logarithm generator with modified quasi-symmetrical app...An efficient hardware logarithm generator with modified quasi-symmetrical app...
An efficient hardware logarithm generator with modified quasi-symmetrical app...
 
Master’s theorem Derivative Analysis
Master’s theorem Derivative AnalysisMaster’s theorem Derivative Analysis
Master’s theorem Derivative Analysis
 
1406
14061406
1406
 
Ijetcas14 546
Ijetcas14 546Ijetcas14 546
Ijetcas14 546
 
Cpnm lect 2-4
Cpnm lect 2-4Cpnm lect 2-4
Cpnm lect 2-4
 
F0333034038
F0333034038F0333034038
F0333034038
 
Ijetr011961
Ijetr011961Ijetr011961
Ijetr011961
 
Paper id 36201517
Paper id 36201517Paper id 36201517
Paper id 36201517
 
Numerical disperison analysis of sympletic and adi scheme
Numerical disperison analysis of sympletic and adi schemeNumerical disperison analysis of sympletic and adi scheme
Numerical disperison analysis of sympletic and adi scheme
 
Eryk_Kulikowski_a3
Eryk_Kulikowski_a3Eryk_Kulikowski_a3
Eryk_Kulikowski_a3
 
NACA Regula Falsi Method
 NACA Regula Falsi Method NACA Regula Falsi Method
NACA Regula Falsi Method
 
Integration
IntegrationIntegration
Integration
 
Laboratory 7
Laboratory 7Laboratory 7
Laboratory 7
 
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
 
Ijetr021210
Ijetr021210Ijetr021210
Ijetr021210
 
Ijetr021210
Ijetr021210Ijetr021210
Ijetr021210
 
Approximate Thin Plate Spline Mappings
Approximate Thin Plate Spline MappingsApproximate Thin Plate Spline Mappings
Approximate Thin Plate Spline Mappings
 

More from Waqas Tariq

The Use of Java Swing’s Components to Develop a Widget
The Use of Java Swing’s Components to Develop a WidgetThe Use of Java Swing’s Components to Develop a Widget
The Use of Java Swing’s Components to Develop a Widget
Waqas Tariq
 
3D Human Hand Posture Reconstruction Using a Single 2D Image
3D Human Hand Posture Reconstruction Using a Single 2D Image3D Human Hand Posture Reconstruction Using a Single 2D Image
3D Human Hand Posture Reconstruction Using a Single 2D Image
Waqas Tariq
 
Camera as Mouse and Keyboard for Handicap Person with Troubleshooting Ability...
Camera as Mouse and Keyboard for Handicap Person with Troubleshooting Ability...Camera as Mouse and Keyboard for Handicap Person with Troubleshooting Ability...
Camera as Mouse and Keyboard for Handicap Person with Troubleshooting Ability...
Waqas Tariq
 
Computer Input with Human Eyes-Only Using Two Purkinje Images Which Works in ...
Computer Input with Human Eyes-Only Using Two Purkinje Images Which Works in ...Computer Input with Human Eyes-Only Using Two Purkinje Images Which Works in ...
Computer Input with Human Eyes-Only Using Two Purkinje Images Which Works in ...
Waqas Tariq
 
Toward a More Robust Usability concept with Perceived Enjoyment in the contex...
Toward a More Robust Usability concept with Perceived Enjoyment in the contex...Toward a More Robust Usability concept with Perceived Enjoyment in the contex...
Toward a More Robust Usability concept with Perceived Enjoyment in the contex...
Waqas Tariq
 
Collaborative Learning of Organisational Knolwedge
Collaborative Learning of Organisational KnolwedgeCollaborative Learning of Organisational Knolwedge
Collaborative Learning of Organisational Knolwedge
Waqas Tariq
 
A PNML extension for the HCI design
A PNML extension for the HCI designA PNML extension for the HCI design
A PNML extension for the HCI design
Waqas Tariq
 
Development of Sign Signal Translation System Based on Altera’s FPGA DE2 Board
Development of Sign Signal Translation System Based on Altera’s FPGA DE2 BoardDevelopment of Sign Signal Translation System Based on Altera’s FPGA DE2 Board
Development of Sign Signal Translation System Based on Altera’s FPGA DE2 Board
Waqas Tariq
 
An overview on Advanced Research Works on Brain-Computer Interface
An overview on Advanced Research Works on Brain-Computer InterfaceAn overview on Advanced Research Works on Brain-Computer Interface
An overview on Advanced Research Works on Brain-Computer Interface
Waqas Tariq
 
Exploring the Relationship Between Mobile Phone and Senior Citizens: A Malays...
Exploring the Relationship Between Mobile Phone and Senior Citizens: A Malays...Exploring the Relationship Between Mobile Phone and Senior Citizens: A Malays...
Exploring the Relationship Between Mobile Phone and Senior Citizens: A Malays...
Waqas Tariq
 
Principles of Good Screen Design in Websites
Principles of Good Screen Design in WebsitesPrinciples of Good Screen Design in Websites
Principles of Good Screen Design in Websites
Waqas Tariq
 
Progress of Virtual Teams in Albania
Progress of Virtual Teams in AlbaniaProgress of Virtual Teams in Albania
Progress of Virtual Teams in Albania
Waqas Tariq
 
Cognitive Approach Towards the Maintenance of Web-Sites Through Quality Evalu...
Cognitive Approach Towards the Maintenance of Web-Sites Through Quality Evalu...Cognitive Approach Towards the Maintenance of Web-Sites Through Quality Evalu...
Cognitive Approach Towards the Maintenance of Web-Sites Through Quality Evalu...
Waqas Tariq
 
USEFul: A Framework to Mainstream Web Site Usability through Automated Evalua...
USEFul: A Framework to Mainstream Web Site Usability through Automated Evalua...USEFul: A Framework to Mainstream Web Site Usability through Automated Evalua...
USEFul: A Framework to Mainstream Web Site Usability through Automated Evalua...
Waqas Tariq
 
Robot Arm Utilized Having Meal Support System Based on Computer Input by Huma...
Robot Arm Utilized Having Meal Support System Based on Computer Input by Huma...Robot Arm Utilized Having Meal Support System Based on Computer Input by Huma...
Robot Arm Utilized Having Meal Support System Based on Computer Input by Huma...
Waqas Tariq
 
An Improved Approach for Word Ambiguity Removal
An Improved Approach for Word Ambiguity RemovalAn Improved Approach for Word Ambiguity Removal
An Improved Approach for Word Ambiguity Removal
Waqas Tariq
 
Parameters Optimization for Improving ASR Performance in Adverse Real World N...
Parameters Optimization for Improving ASR Performance in Adverse Real World N...Parameters Optimization for Improving ASR Performance in Adverse Real World N...
Parameters Optimization for Improving ASR Performance in Adverse Real World N...
Waqas Tariq
 
Interface on Usability Testing Indonesia Official Tourism Website
Interface on Usability Testing Indonesia Official Tourism WebsiteInterface on Usability Testing Indonesia Official Tourism Website
Interface on Usability Testing Indonesia Official Tourism Website
Waqas Tariq
 
Monitoring and Visualisation Approach for Collaboration Production Line Envir...
Monitoring and Visualisation Approach for Collaboration Production Line Envir...Monitoring and Visualisation Approach for Collaboration Production Line Envir...
Monitoring and Visualisation Approach for Collaboration Production Line Envir...
Waqas Tariq
 
Hand Segmentation Techniques to Hand Gesture Recognition for Natural Human Co...
Hand Segmentation Techniques to Hand Gesture Recognition for Natural Human Co...Hand Segmentation Techniques to Hand Gesture Recognition for Natural Human Co...
Hand Segmentation Techniques to Hand Gesture Recognition for Natural Human Co...
Waqas Tariq
 

More from Waqas Tariq (20)

The Use of Java Swing’s Components to Develop a Widget
The Use of Java Swing’s Components to Develop a WidgetThe Use of Java Swing’s Components to Develop a Widget
The Use of Java Swing’s Components to Develop a Widget
 
3D Human Hand Posture Reconstruction Using a Single 2D Image
3D Human Hand Posture Reconstruction Using a Single 2D Image3D Human Hand Posture Reconstruction Using a Single 2D Image
3D Human Hand Posture Reconstruction Using a Single 2D Image
 
Camera as Mouse and Keyboard for Handicap Person with Troubleshooting Ability...
Camera as Mouse and Keyboard for Handicap Person with Troubleshooting Ability...Camera as Mouse and Keyboard for Handicap Person with Troubleshooting Ability...
Camera as Mouse and Keyboard for Handicap Person with Troubleshooting Ability...
 
Computer Input with Human Eyes-Only Using Two Purkinje Images Which Works in ...
Computer Input with Human Eyes-Only Using Two Purkinje Images Which Works in ...Computer Input with Human Eyes-Only Using Two Purkinje Images Which Works in ...
Computer Input with Human Eyes-Only Using Two Purkinje Images Which Works in ...
 
Toward a More Robust Usability concept with Perceived Enjoyment in the contex...
Toward a More Robust Usability concept with Perceived Enjoyment in the contex...Toward a More Robust Usability concept with Perceived Enjoyment in the contex...
Toward a More Robust Usability concept with Perceived Enjoyment in the contex...
 
Collaborative Learning of Organisational Knolwedge
Collaborative Learning of Organisational KnolwedgeCollaborative Learning of Organisational Knolwedge
Collaborative Learning of Organisational Knolwedge
 
A PNML extension for the HCI design
A PNML extension for the HCI designA PNML extension for the HCI design
A PNML extension for the HCI design
 
Development of Sign Signal Translation System Based on Altera’s FPGA DE2 Board
Development of Sign Signal Translation System Based on Altera’s FPGA DE2 BoardDevelopment of Sign Signal Translation System Based on Altera’s FPGA DE2 Board
Development of Sign Signal Translation System Based on Altera’s FPGA DE2 Board
 
An overview on Advanced Research Works on Brain-Computer Interface
An overview on Advanced Research Works on Brain-Computer InterfaceAn overview on Advanced Research Works on Brain-Computer Interface
An overview on Advanced Research Works on Brain-Computer Interface
 
Exploring the Relationship Between Mobile Phone and Senior Citizens: A Malays...
Exploring the Relationship Between Mobile Phone and Senior Citizens: A Malays...Exploring the Relationship Between Mobile Phone and Senior Citizens: A Malays...
Exploring the Relationship Between Mobile Phone and Senior Citizens: A Malays...
 
Principles of Good Screen Design in Websites
Principles of Good Screen Design in WebsitesPrinciples of Good Screen Design in Websites
Principles of Good Screen Design in Websites
 
Progress of Virtual Teams in Albania
Progress of Virtual Teams in AlbaniaProgress of Virtual Teams in Albania
Progress of Virtual Teams in Albania
 
Cognitive Approach Towards the Maintenance of Web-Sites Through Quality Evalu...
Cognitive Approach Towards the Maintenance of Web-Sites Through Quality Evalu...Cognitive Approach Towards the Maintenance of Web-Sites Through Quality Evalu...
Cognitive Approach Towards the Maintenance of Web-Sites Through Quality Evalu...
 
USEFul: A Framework to Mainstream Web Site Usability through Automated Evalua...
USEFul: A Framework to Mainstream Web Site Usability through Automated Evalua...USEFul: A Framework to Mainstream Web Site Usability through Automated Evalua...
USEFul: A Framework to Mainstream Web Site Usability through Automated Evalua...
 
Robot Arm Utilized Having Meal Support System Based on Computer Input by Huma...
Robot Arm Utilized Having Meal Support System Based on Computer Input by Huma...Robot Arm Utilized Having Meal Support System Based on Computer Input by Huma...
Robot Arm Utilized Having Meal Support System Based on Computer Input by Huma...
 
An Improved Approach for Word Ambiguity Removal
An Improved Approach for Word Ambiguity RemovalAn Improved Approach for Word Ambiguity Removal
An Improved Approach for Word Ambiguity Removal
 
Parameters Optimization for Improving ASR Performance in Adverse Real World N...
Parameters Optimization for Improving ASR Performance in Adverse Real World N...Parameters Optimization for Improving ASR Performance in Adverse Real World N...
Parameters Optimization for Improving ASR Performance in Adverse Real World N...
 
Interface on Usability Testing Indonesia Official Tourism Website
Interface on Usability Testing Indonesia Official Tourism WebsiteInterface on Usability Testing Indonesia Official Tourism Website
Interface on Usability Testing Indonesia Official Tourism Website
 
Monitoring and Visualisation Approach for Collaboration Production Line Envir...
Monitoring and Visualisation Approach for Collaboration Production Line Envir...Monitoring and Visualisation Approach for Collaboration Production Line Envir...
Monitoring and Visualisation Approach for Collaboration Production Line Envir...
 
Hand Segmentation Techniques to Hand Gesture Recognition for Natural Human Co...
Hand Segmentation Techniques to Hand Gesture Recognition for Natural Human Co...Hand Segmentation Techniques to Hand Gesture Recognition for Natural Human Co...
Hand Segmentation Techniques to Hand Gesture Recognition for Natural Human Co...
 

Recently uploaded

ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
sayalidalavi006
 

Recently uploaded (20)

ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
 

An Improvement to the Brent’s Method

  • 1. Zhengqiu Zhang International Journal of Experimental Algorithms (IJEA), Volume (2) : Issue (1) : 2011 21 An Improvement to the Brent’s Method Zhengqiu Zhang zqzhang@cams.cma.gov.cn Chinese Academy of Meteorological Sciences Beijing, 100081,China Abstract This study presents an improvement to Brent’s method by reconstruction. The Brent’s method determines the next iteration interval from two subsections, whereas the new method determines the next iteration interval from three subsections constructed by four given points and thus can greatly reduce the iteration interval length. The new method not only gets more readable but also converges faster. An experiment is made to investigate its performance. Results show that, after simplification, the computational efficiency can greatly be improved. Keywords: Brent’s Method, Simplification, Improvement. 1. INTRODUCTION Brent’s method, which is proposed by Brent (1973)[1] and introduced in many numerical books [2], is a root-finding algorithm with combining root bracketing, bisection and inverse quadratic interpolation, based on Dekker’s method [3] to avoid the problem that it converges very slowly, in particular, when 1−− kk bb may be arbitrarily small, where k is the index for iterative steps. Brent (1973) published an Algol 60 implementation. Netlib contains a Fortran translation of this implementation with slight modifications. The MATLAB function fzero also implements Brent's method [4], as does the PARI/GP method solve. Other implementations of the algorithm (in C++, C, and Fortran) can be found in the Numerical Recipes books [5]. However, due to the difficulty to understand this algorithm, this method was replaced by Ridders’ method [6], as mentioned in some books [7]. 2. IMPROVEMENT OF THE BRENT’S METHOD 2.1 Comparisons Between the Brent’s Method and the Simplification The original Brent’s algorithm can be easily found on many websites such as Wikipedia (Brent's method)[8], for comparison it is reprinted here: • input a, b, and a pointer to a subroutine for f • calculate f(a) • calculate f(b) • if f(a) f(b) >= 0 then error-exit end if • if |f(a)| < |f(b)| then swap (a,b) end if • c := a • set mflag • repeat until f(b or s) = 0 or |b − a| is small enough (convergence) o if f(a) ≠ f(c) and f(b) ≠ f(c) then calculate s (inverse quadratic interpolation) o else
  • 2. Zhengqiu Zhang International Journal of Experimental Algorithms (IJEA), Volume (2) : Issue (1) : 2011 22 calculate s (secant rule) o end if o if (condition 1) s is not between (3a + b)/4 and b or (condition 2) (mflag is set and |s−b| ≥ |b−c| / 2) or (condition 3) (mflag is cleared and |s−b| ≥ |c−d| / 2) or (condition 4) (mflag is set and |b−c| < |δ|) or (condition 5) (mflag is cleared and |c−d| < |δ|) then (bisection method) set mflag o else clear mflag o end if o calculate f(s) o d := c (d is asigned for the first time here, it won't be used above on the first iteration because mflag is set) o c := b o if f(a) f(s) < 0 then b:= s else a := s end if o if |f(a)| < |f(b)| then swap (a,b) end if • end repeat • output b or s (return the root) As seen from the above, the Brent’s method is very complicated and difficult to understand. It is obvious that, the algorithm still preserves the idea that determines the next iteration interval from two subsections, in which one endpoint of previous interval is replaced with the new one calculated using inverse quadratic interpolation. According to the computation, three points will be used for the next inverse quadratic interpolation, one is b, another is s, which will be one of the two endpoints of the next interval, and the other will be b or a. When it takes a = s, then f(a)=f(c), the Brent’s method will use the secant rule algorithm. To simplify the Brent’s method, we can add one more evaluation for the function at the middle point c = (a + b)/2 before the interpolation. The simplified scheme now becomes as follows: • input a, b, and a pointer to a subroutine for f • calculate f(a) • calculate f(b) • if f(a) f(b) >= 0 then error-exit end if • repeat until f(b or s) = 0 or |b − a| is small enough (convergence) o c =(a+b)/2 o calculate f(c) o if f(a) ≠ f(c) and f(b) ≠ f(c) then calculate s (inverse quadratic interpolation) o else calculate s (secant rule) o end if o calculate f(s) o if c> s then swap(s,c) o if f(c) f(s) < 0 then a: = s b: = c o else if f(s) f(b) < 0 then a: = c else b: = s endif o end if • end repeat
  • 3. Zhengqiu Zhang International Journal of Experimental Algorithms (IJEA), Volume (2) : Issue (1) : 2011 23 • output b or s (return the root) As seen from the above, after simplification, the new algorithm becomes much brief, more easily readable and understandable. Also, we don’t need set the mflag, reducing several of its related conditions. In the new algorithm, it is assumed that a < b, and c is the middle. If the interploated point (s) is less than c, then swap s and c, which makes the four points intersected with x–axis be labelled in the order of a, c, s and b by their coordinates. Note that, for the above two methods, to avoid calulating the function again, when swapping or assigning a variable to another, the function variable also needs to do the same, accordingly. 2.2 Analysis on the Advantages of the New Algorithm Because the new algorithm added one more evaluation for the root-finding function, one step of iteration for it will be equivalent to two steps of the Brent’s method. This will provide it with several advantages over the original Brent’s method. a) Reducing the Times for Evaluating the Conditions Since for each step the Brent’s method must evaluate the condition: if ( 21 ff × <0), two iterations must need two times of such judgment. Whereas for the new algorithm, its conditional judgment is: If…else, two times of evaluating the root-finding function each loop just does the judgment once. Therefore, it is obvious that the new algorithm spends less time to do the judgment after two times of the function evaluation than the Brent’s method. b) Accelerating Reduction of the Convergence Interval By introducing the evaluation at the middle point, in each iterative loop for the new algorithm, the convergence interval must reduce more than half of the previous interval, but two iterations of the Brent’s method could not. Although it will get more accurate interpolated point using the inverse quadratic interpolation, two iterations can’t guarantee the next interval reduces half of its previous. It is easy to find such an example. Suppose current iterative interval is [a, b], which can be divided into two half. If two continuous interpolated points are located in the same half region, it can’t guarantee the last interval length reduces that much. Since the Brent’s method uses the bisection method under some conditions, it is obvious that the new method can more greatly reduce the next interval length. 2.3 Comparisons With Ridders’ Method Before modification, Ridder’s method is simpler than Brent’s method, but Press et al. claim that it usually performs about as well [9]. However, the new revised Brent’s method becomes as simple as the Ridder’s method. They have the same feature as that they converge quadratically, which implies that the number of additional significant digits doubles at each step, and the function has to be evaluated twice for each step, but the revised Brent’s method converges faster.
  • 4. Zhengqiu Zhang International Journal of Experimental Algorithms (IJEA), Volume (2) : Issue (1) : 2011 24 The Ridders’ method can be described as follows ("exponential case"). Given three x values {x0, x1, x2} evenly spaced by interval d0 at which the function f(x) has been calculated, a function p(x) in an exponential form is found which takes the same values as f(x) at the three points, then x3 is found as the point where p(x) = 0. Once x3 has been found, the closest one of the original three points is used as one of the three new points, along with one more new point chosen so as to have three equally spaced points with x3 in the middle. Compared with Ridders’ method, although the simplified Brent’s method and the Ridders’ method both determine the next iterative subsection via four points {x0, x1, x2, x3}, the simplified Brent’s method will have a narrower converging subsection for the next iteration than that of Ridders’ method does, as can be seen from their actions to search for the converging subsection. That is, the next iterative subsection for the new method is one of the three subsections formed by the four points, whereas the next iterative subsection for Ridders’ method is the subsection double extended on one of the three subsections. 3. EXPERIMENTAL TEST From the above analysis, we can tell the new algorithm will be faster than the Brent’s method. To confirm it, the following experiment will be used to test and compare their efficiencies. Simply, let’s find one root of 0)cos( 3 =− xx , Using the two methods with iteration, respectively. For the initial, set a=-4 and b=4 as the two endpoints of a section in which the root will be located. And iteration termination error is given to be 1.0E-5. 3.1 Analysis on the Advantages of the New Algorithm Due to one more evaluation of the root-finding function is needed for the new method in each do- loop, equivalent to two times of iterations for the Brent’s method. To make them comparable, we compare the times of the function evaluation for the two methods. TABLE 1: Comparisons between the results from the two methods. Step Brent’s method The new method (a, b) ∆ (a, b) ∆ 1 4 .000000 0.000000 4.000000 — — — 2 2.000000 0.000000 2.000000 0.000000 4.000000 4.000000 3 0.000000 1.000000 1.000000 — — — 4 1.000000 0.685073 0.314927 0.235070 2.000000 1.764930 5 1.000000 0.842537 0.157463 — — — 6 0.921268 0.842537 0.078732 0.710220 1.117535 0.407315 7 0.842537 0.881903 0.039366 — — — 8 0.881903 0.865107 0.016796 0.862843 0.913877 0.051035 9 0.873505 0.865107 0.008398 — — — 10 0.869306 0.865107 0.004199 0.865470 0.888360 0.022890 11 0.867206 0.865107 0.002099 — — — 12 0.866156 0.865107 0.001050 0.865470 0.865474 0.000004 13 0.865107 0.865631 0.000525 14 0.865631 0.865474 0.000157 15 0.865553 0.865474 0.000079 16 0.865513 0.865474 0.000039 17 0.865494 0.865474 0.000020
  • 5. Zhengqiu Zhang International Journal of Experimental Algorithms (IJEA), Volume (2) : Issue (1) : 2011 25 Before comparison, we design two programs for the two methods with C or other languages, respectively. The endpoints a, b and the interval length at each step are printed as in Table 1. In the table, the “—“ represents the function has to be evaluated twice. As seen from the table, under the given iteration termination error, the new method can reach the real root more quickly, with fewer iteration steps. Similar to Dekker’s method (1969), when ba − gets arbitrarily small, the computation of the Brent’s method converges very slowly. 3.2 Converging Speed Generally, there are several factors that affect the converging speed, which includes the calculations of the function )(xf , the interpolation, the conditional judgment and so on. In practice, we can use computer system functions to record time consumptions for the both methods. However, for simplicity, the following just gives an analysis on their computational efficiencies. As seen from the above experiment, when getting the root of the equation, the new method needs to calculate 12 times of the function: 3 )cos()( xxxf −= , While the Brent’s method needs to calculate )(xf for 18 times. Since )(xf is the same, indicating one time calculation of the function for the two methods need the same computational time, thus the new method spends less total time on evaluating the )(xf . On the other hand, the above analysis and the code’s structures also indicated that the new method needs less time. Briefly, comparing with the original Brent’s method, the new algorithm not only gets more understandable but also will improve its computational efficiency. 4. CONCLUSIONS This study proposes an improvement to the Brent’s method, and a comparative experiment test was conducted. The new algorithm is simpler and more easily understandable. Experimental results and analysis indicated that the proposed method converges faster. Other experiments also show this advantage. In short, the proposed method has a lot of advantages over the original Brent’s method, and it will be useful for engineering computations. 5. REFERENCES [1] Brent, R.P., Algorithms for Minimization without Derivatives, Chapter 4. Prentice- Hall, Englewood Cliffs, NJ. ISBN 0-13-022335-2,1973. [2] Antia,H.M., Numerical Methods for Scientists and Engineers, Birkhäuser, 2002, pp.362-365,2 ed. [3] Dekker, T. J. Finding a zero by means of successive linear interpolation, In B. Dejon and P. Henrici (eds), Constructive Aspects of the Fundamental Theorem of Algebra, Wiley- Interscience, London, SBN 471-28300-9,1969. [4] Alfio Quarteroni, Fausto Saleri. Scientific Computing with MATLAB (Texts in Computational Science and Engineering 2), Springer, 2003, pp.52.
  • 6. Zhengqiu Zhang International Journal of Experimental Algorithms (IJEA), Volume (2) : Issue (1) : 2011 26 [5] William H. Press, Saul A. Teukolsky, William T. Vetterling and Brian P. Flannery. Numerical Recipes in C, The Art of Scientific Computing Second Edition, Cambridge University Press, November 27, 1992, pp. 358–362. [6] Ridders, C.J.F. “ Three-point iterations derived from exponential curve fitting ”, IEEE Transactions on Circuits and Systems 26 (8): 669-670,1979. [7] Jaan Kiusalaas. Numerical Methods in Engineering with Python, 2nd Edition, Cambridge University Press, 2010. [8] Wikipedia contributors. “ Brent's method. Wikipedia ”, The Free Encyclopedia. Wikipedia, The Free Encyclopedia, 13 Apr. 2010. Web. 13 May. 2010. [9] Press, W.H.; S.A. Teukolsky, W.T. Vetterling, B.P. Flannery. Numerical Recipes in C: The Art of Scientific Computing (2nd ed.). Cambridge UK: Cambridge University Press.1992, pp. 358–359.