Approximation of Π by Numerical Methods Mathematics Coursework (NM)

Total Page:16

File Type:pdf, Size:1020Kb

Approximation of Π by Numerical Methods Mathematics Coursework (NM) Approximation of π by Numerical Methods Mathematics Coursework (NM) Alvin Sipragaˇ Magdalen College School, Brackley April 2010 1 Introduction There exist many ways to approximate1 π, usually employed in computer systems. Numerical methods may be the basis for some of these approximations. In this coursework, we investigate the application of numerical methods { specifically numerical integration methods { to the evaluation of a particular definite integral. In this investigation we will use the function defined as follows: 16x − 16 f(x) = (1) x4 − 2x3 + 4x − 4 As mentioned, numerical integration will be employed to approximate π. The integral and its rela- tionship is defined as follows: Z 1 Z 1 16x − 16 π = f(x) dx = 4 3 dx (2) 0 0 x − 2x + 4x − 4 Which we shall proceed to investigate. 8 6 4 y 2 O -4 -2 -2 1 2 4 -4 x 16x−16 Figure 1: f(x) = x4−2x3+4x−4 The following sum was discovered by Bailey, Borwein and Plouffe (BBP) and is discussed in a paper from 1996 by them. The above integral (2) is derived from and is equal to it.[1, 2] 1 X 1 4 2 1 1 π = − − − (3) 16n 8n + 1 8n + 4 8n + 5 8n + 6 n=0 1Approximate rather than calculate is used in this context, since π is irrational and any evaluation will always be an approximation { never equal { although the original expression may well be equal to π. 1 1.1 Strategy 2 SOLUTION BY SIMPSON'S RULE The integral itself is appropriate because it is difficult to integrate by conventional means. The normal approach to integration by analysis is as follows: Z 1 16x − 16 4 3 dx from (2) 0 x − 2x + 4x − 4 Z 1 x − 1 = 16 4 3 dx 0 x − 2x + 4x − 4 Z 1 x − 1 = 16 2 2 dx 0 (x − 2)(x − 2x + 2) At which point we can not proceed.2 Since there is no analytical solution within our means, our only means of solving it is by numerical methods. A brief discussion of the numerical methods we employ is also in order. 1.1 Strategy The numerical integration method we shall use is Simpson's rule. It is appropriate because it is an efficient and easy-to-apply numerical method for finding the area beneath a curve within a limit. Of interest is the error in the results obtained. Although it is not possible to integrate the expression analytically, we have the benefit of comparing the results to π, which is known to sufficiently many decimal places to never worry about it in the scope of this coursework. As such, we may calculate errors directly, and on that basis improve our solution. Simpson's rule is appropriate for the problem because it is an easy numerical method to apply, and converges relatively quickly to a desirable degree of accuracy. The Trapezium rule and Midpoint rule could also be used, but their use is superfluous because Simpson's rule directly improves on both, and so we can get better solutions using it. The rule is based on dividing the area to be integrated into equally sized `strips'. For an integral R b a f(x) dx to be divided into 2n strips of width h, the rule is as follows: h S = ff + f + 4(f + f + f + ··· + f ) + 2(f + f + f + ··· + f )g (4) n 3 0 2n 1 3 5 2n−1 2 4 6 2n−2 Where f0 = f(a), f1 = f(a + h), and so on such that f2n = f(a + 2nh) = f(b). The procedure will be to apply the rule to the above integral to approximate π. Adjusting the number of strips taken (and hence width of strips) will affect the accuracy of the solution to the integral. We shall take a few of these such changes and investigate the error in their results. Given this, a more informed change to the number of strips can be made to achieve the kind of accuracy we want. Because numerical methods are rather tedious and prone to error, use of computer spreadsheet software is in order. A spreadsheet layout with formulae can be found in Appendix A. 2 Solution by Simpson's rule Using the formula (4), we can split the region to be integrated into a set of strips for our desired degree of accuracy. The convergence of the method will be relative, so a reasonable number of strips to start with should be picked. Since we are integrating between 0 and 1, we shall begin by using 10 strips. For reference, π to 20 decimal places is as follows: π = 3:14159265358979323846 ::: (5) 2It is worth pointing out that given the nature of the function, were we to be able to integrate it (for example, by some more advanced partial fractions splitting) we would get an inverse trigonomic function of some kind (arctan, arcsin, etc.). However, computing π by use of trigonomic functions is paradoxical and can not give a better approximation of π without x3 x5 x7 use of some further numerical method (e.g. Gregory's series, arctan x = x − 3 + 5 − 7 + ··· ). This would somewhat defeat the point of investigating by means of numerical integration. 2 2.1 10 strips 2 SOLUTION BY SIMPSON'S RULE 2.1 10 strips In this case, we put n = 5, hence the number of strips is 2n = 10 and the width, h = 0:1. Below is the table of values for the points on the function that we will use in (4). x f(x) 0.0 4 0.1 3.99789000249868 0.2 3.98208063713290 0.3 3.93548613795284 0.4 3.83631713554987 0.5 3.65714285714286 0.6 3.36417157275021 0.7 2.91633756607327 0.8 2.26244343891403 0.9 1.33122555953074 1.0 0 They are then substituted into the Simpson's rule formula (4): 0:1 S = f4 + 0 + 4(3:99789000249868 + 3:93548613795284 5 3 + 3:65714285714286 + 2:91633756607327 + 1:33122555953074) (6) + 2(3:98208063713290 + 3:83631713554987 + 3:36417157275021 + 2:26244343891403)g = 3:14141180204959 Which is correct to 3 significant figures. This is not particularly impressive, but Simpson's rule begins to converge very quickly. We shall double the number of strips (doubling n) to 20 and then do some error analysis on the two results such that we can make an informed improvement on our solutions. 2.2 20 strips We put n = 10 =) h = 0:05 and number of strips = 20. Our values of f(x) are as follows: x f(x) x f(x) 0.00 4 0.55 3.52726125922002 0.05 3.99974343750976 0.60 3.36417157275021 0.10 3.99789000249868 0.65 3.16251292712455 0.15 3.99266787645482 0.70 2.91633756607327 0.20 3.98208063713290 0.75 2.61892583120205 0.25 3.96387096774194 0.80 2.26244343891403 0.30 3.93548613795284 0.85 1.83732936521227 0.35 3.89404636816992 0.90 1.33122555953074 0.40 3.83631713554987 0.95 0.72711160595095 0.45 3.75868595484772 1.00 0 0.50 3.65714285714286 Into (4): 0:05 S = f4 + 0 + 4(3:99974343750976 + 3:99266787645482 10 3 + 3:96387096774194 + 3:89404636816992 + 3:75868595484772 + 3:52726125922002 + 3:16251292712455 + 2:61892583120205 + 1:83732936521227 + 0:72711160595095) + 2(3:99789000249868 + 3:98208063713290 + 3:93548613795284 + 3:83631713554987 (7) + 3:65714285714286 + 3:36417157275021 + 2:91633756607327 + 2:26244343891403 + 1:33122555953074)g = 3:14158020314711 3 3 ERROR ANALYSIS Which is correct to 5 significant figures. An improvement, but we can do better. We shall analyse the errors in our results and use the properties of Simpson's rule to find a better approximation. The spreadsheet software has a limit of 15 significant figures, so it seems reasonable3 to try and achieve this by numerical methods. 3 Error analysis From (5), (6) and (7), we have π = 3:14159265358979 ::: S5 = 3:14141180204959 S10 = 3:14158020314711 Which, naturally, we shall refer to as π, S5 and S10 henceforth. Our desired accuracy is 15 significant figures, or thereabouts. Anything above 6 will be sufficient to demonstrate the merits or issues with numerical integration methods for approximation of π. We must do a little analysis given the error in the approximations we have computed. We know that for Simpson's rule, the absolute error is proportional to h4 { that is, fourth order. Using this property, it is possible to find without trial and error an n value for Sn where the accuracy is roughly4 15 significant figures. Consider the absolute errors (which we henceforth denote by ∆x) in our approximations: ∆Sn −4 S5 1:80851540202642 × 10 −5 S10 1:24504426795014 × 10 4 It follows that ∆S10 ≈ (1=16) × ∆S5, since h changes by a factor of 1/2, and (1=2) = 1=16. To verify: (1=16) × 1:80851540202642 × 10−4 = 1:13032212628594 × 10−5 ≈ 1:24504426795014 × 10−5, so indeed the property holds to a tolerable degree. Our aim is 15 significant figures, so an absolute error of approximately 5 × 10−15. Consider the following: ) 0:0045 = 0:005 ± 5 × 10−4 0:0055 So generally we can say for n significant figures, we have an error of ±5×10−n. Obviously 0:0055 6= 0:005 to 4 significant figures, but the absolute error in any case will be 5 × 10−4 for an approximation to 4 significant figures. By what we know about the rule, given a desired error we can find by what power { let it be m { −15 of 1/16 we multiply ∆S5 by to get 5 × 10 . Given that the method is fourth order, it means that our m m old h would have to be multiplied by (1=2) to get the new h (h = hold × (1=2) ), and it follows that −15 h = 1=2n =) n = 1=2h, so we can find the new n of Sn such that ∆Sn = 5 × 10 .
Recommended publications
  • A Short Course on Approximation Theory
    A Short Course on Approximation Theory N. L. Carothers Department of Mathematics and Statistics Bowling Green State University ii Preface These are notes for a topics course offered at Bowling Green State University on a variety of occasions. The course is typically offered during a somewhat abbreviated six week summer session and, consequently, there is a bit less material here than might be associated with a full semester course offered during the academic year. On the other hand, I have tried to make the notes self-contained by adding a number of short appendices and these might well be used to augment the course. The course title, approximation theory, covers a great deal of mathematical territory. In the present context, the focus is primarily on the approximation of real-valued continuous functions by some simpler class of functions, such as algebraic or trigonometric polynomials. Such issues have attracted the attention of thousands of mathematicians for at least two centuries now. We will have occasion to discuss both venerable and contemporary results, whose origins range anywhere from the dawn of time to the day before yesterday. This easily explains my interest in the subject. For me, reading these notes is like leafing through the family photo album: There are old friends, fondly remembered, fresh new faces, not yet familiar, and enough easily recognizable faces to make me feel right at home. The problems we will encounter are easy to state and easy to understand, and yet their solutions should prove intriguing to virtually anyone interested in mathematics. The techniques involved in these solutions entail nearly every topic covered in the standard undergraduate curriculum.
    [Show full text]
  • February 2009
    How Euler Did It by Ed Sandifer Estimating π February 2009 On Friday, June 7, 1779, Leonhard Euler sent a paper [E705] to the regular twice-weekly meeting of the St. Petersburg Academy. Euler, blind and disillusioned with the corruption of Domaschneff, the President of the Academy, seldom attended the meetings himself, so he sent one of his assistants, Nicolas Fuss, to read the paper to the ten members of the Academy who attended the meeting. The paper bore the cumbersome title "Investigatio quarundam serierum quae ad rationem peripheriae circuli ad diametrum vero proxime definiendam maxime sunt accommodatae" (Investigation of certain series which are designed to approximate the true ratio of the circumference of a circle to its diameter very closely." Up to this point, Euler had shown relatively little interest in the value of π, though he had standardized its notation, using the symbol π to denote the ratio of a circumference to a diameter consistently since 1736, and he found π in a great many places outside circles. In a paper he wrote in 1737, [E74] Euler surveyed the history of calculating the value of π. He mentioned Archimedes, Machin, de Lagny, Leibniz and Sharp. The main result in E74 was to discover a number of arctangent identities along the lines of ! 1 1 1 = 4 arctan " arctan + arctan 4 5 70 99 and to propose using the Taylor series expansion for the arctangent function, which converges fairly rapidly for small values, to approximate π. Euler also spent some time in that paper finding ways to approximate the logarithms of trigonometric functions, important at the time in navigation tables.
    [Show full text]
  • Approximation Atkinson Chapter 4, Dahlquist & Bjork Section 4.5
    Approximation Atkinson Chapter 4, Dahlquist & Bjork Section 4.5, Trefethen's book Topics marked with ∗ are not on the exam 1 In approximation theory we want to find a function p(x) that is `close' to another function f(x). We can define closeness using any metric or norm, e.g. Z 2 2 kf(x) − p(x)k2 = (f(x) − p(x)) dx or kf(x) − p(x)k1 = sup jf(x) − p(x)j or Z kf(x) − p(x)k1 = jf(x) − p(x)jdx: In order for these norms to make sense we need to restrict the functions f and p to suitable function spaces. The polynomial approximation problem takes the form: Find a polynomial of degree at most n that minimizes the norm of the error. Naturally we will consider (i) whether a solution exists and is unique, (ii) whether the approximation converges as n ! 1. In our section on approximation (loosely following Atkinson, Chapter 4), we will first focus on approximation in the infinity norm, then in the 2 norm and related norms. 2 Existence for optimal polynomial approximation. Theorem (no reference): For every n ≥ 0 and f 2 C([a; b]) there is a polynomial of degree ≤ n that minimizes kf(x) − p(x)k where k · k is some norm on C([a; b]). Proof: To show that a minimum/minimizer exists, we want to find some compact subset of the set of polynomials of degree ≤ n (which is a finite-dimensional space) and show that the inf over this subset is less than the inf over everything else.
    [Show full text]
  • Function Approximation Through an Efficient Neural Networks Method
    Paper ID #25637 Function Approximation through an Efficient Neural Networks Method Dr. Chaomin Luo, Mississippi State University Dr. Chaomin Luo received his Ph.D. in Department of Electrical and Computer Engineering at Univer- sity of Waterloo, in 2008, his M.Sc. in Engineering Systems and Computing at University of Guelph, Canada, and his B.Eng. in Electrical Engineering from Southeast University, Nanjing, China. He is cur- rently Associate Professor in the Department of Electrical and Computer Engineering, at the Mississippi State University (MSU). He was panelist in the Department of Defense, USA, 2015-2016, 2016-2017 NDSEG Fellowship program and panelist in 2017 NSF GRFP Panelist program. He was the General Co-Chair of 2015 IEEE International Workshop on Computational Intelligence in Smart Technologies, and Journal Special Issues Chair, IEEE 2016 International Conference on Smart Technologies, Cleveland, OH. Currently, he is Associate Editor of International Journal of Robotics and Automation, and Interna- tional Journal of Swarm Intelligence Research. He was the Publicity Chair in 2011 IEEE International Conference on Automation and Logistics. He was on the Conference Committee in 2012 International Conference on Information and Automation and International Symposium on Biomedical Engineering and Publicity Chair in 2012 IEEE International Conference on Automation and Logistics. He was a Chair of IEEE SEM - Computational Intelligence Chapter; a Vice Chair of IEEE SEM- Robotics and Automa- tion and Chair of Education Committee of IEEE SEM. He has extensively published in reputed journal and conference proceedings, such as IEEE Transactions on Neural Networks, IEEE Transactions on SMC, IEEE-ICRA, and IEEE-IROS, etc. His research interests include engineering education, computational intelligence, intelligent systems and control, robotics and autonomous systems, and applied artificial in- telligence and machine learning for autonomous systems.
    [Show full text]
  • A Rational Approximation to the Logarithm
    A Rational Approximation to the Logarithm By R. P. Kelisky and T. J. Rivlin We shall use the r-method of Lanczos to obtain rational approximations to the logarithm which converge in the entire complex plane slit along the nonpositive real axis, uniformly in certain closed regions in the slit plane. We also provide error esti- mates valid in these regions. 1. Suppose z is a complex number, and s(l, z) denotes the closed line segment joining 1 and z. Let y be a positive real number, y ¿¿ 1. As a polynomial approxima- tion, of degree n, to log x on s(l, y) we propose p* G Pn, Pn being the set of poly- nomials with real coefficients of degree at most n, which minimizes ||xp'(x) — X|J===== max \xp'(x) — 1\ *e«(l.v) among all p G Pn which satisfy p(l) = 0. (This procedure is suggested by the observation that w = log x satisfies xto'(x) — 1=0, to(l) = 0.) We determine p* as follows. Suppose p(x) = a0 + aix + ■• • + a„xn, p(l) = 0 and (1) xp'(x) - 1 = x(x) = b0 + bix +-h bnxn . Then (2) 6o = -1 , (3) a,- = bj/j, j = 1, ■•-,«, and n (4) a0= - E Oj • .-i Thus, minimizing \\xp' — 1|| subject to p(l) = 0 is equivalent to minimizing ||«-|| among all i£P„ which satisfy —ir(0) = 1. This, in turn, is equivalent to maximiz- ing |7r(0) I among all v G Pn which satisfy ||ir|| = 1, in the sense that if vo maximizes |7r(0)[ subject to ||x|| = 1, then** = —iro/-7ro(0) minimizes ||x|| subject to —ir(0) = 1.
    [Show full text]
  • Topics in High-Dimensional Approximation Theory
    TOPICS IN HIGH-DIMENSIONAL APPROXIMATION THEORY DISSERTATION Presented in Partial Fulfillment of the Requirements for the Degree Doctor of Philosophy in the Graduate School of the Ohio State University By Yeonjong Shin Graduate Program in Mathematics The Ohio State University 2018 Dissertation Committee: Dongbin Xiu, Advisor Ching-Shan Chou Chuan Xue c Copyright by Yeonjong Shin 2018 ABSTRACT Several topics in high-dimensional approximation theory are discussed. The fundamental problem in approximation theory is to approximate an unknown function, called the target function by using its data/samples/observations. Depending on different scenarios on the data collection, different approximation techniques need to be sought in order to utilize the data properly. This dissertation is concerned with four different approximation methods in four different scenarios in data. First, suppose the data collecting procedure is resource intensive, which may require expensive numerical simulations or experiments. As the performance of the approximation highly depends on the data set, one needs to carefully decide where to collect data. We thus developed a method of designing a quasi-optimal point set which guides us where to collect the data, before the actual data collection procedure. We showed that the resulting quasi-optimal set notably outperforms than other standard choices. Second, it is not always the case that we obtain the exact data. Suppose the data is corrupted by unexpected external errors. These unexpected corruption errors can have big magnitude and in most cases are non-random. We proved that a well-known classical method, the least absolute deviation (LAD), could effectively eliminate the corruption er- rors.
    [Show full text]
  • Approximation of Π
    Lund University/LTH Bachelor thesis FMAL01 Approximation of π Abstract The inverse tangent function can be used to approximate π. When approximating π the convergence of infinite series or products are of great importance for the accuracy of the digits. This thesis will present historical formulas used to approximate π, especially Leibniz–Gregory and Machin’s. Also, the unique Machin two-term formulas will be presented and discussed to show that Machin’s way of calculate π have had a great impact on calculating this number. Madeleine Jansson [email protected] Mentor: Frank Wikstr¨om Examinator: Tomas Persson June 13, 2019 Contents 1 Introduction 2 2 History 2 2.1 – 500 Anno Domini . .2 2.2 1500 – 1800 Anno Domini . .5 2.3 1800 – Anno Domini . .6 2.4 Proofs . .7 2.4.1 Vi`ete’sformula . .7 2.4.2 Wallis’s formula . .9 2.4.3 Irrationality of π ............................. 11 3 Mathematical background 13 3.1 Precision and accuracy . 13 3.2 Convergence of series . 14 3.3 Rounding . 15 4 Gregory–Leibniz formula 17 4.1 History . 18 4.2 Proof . 18 4.3 Convergence . 20 4.4 x = √1 ....................................... 21 3 5 Machin’s formula 22 5.1 History . 22 5.2 Proof . 23 5.3 Convergence . 24 6 Machin-like formulas 26 6.1 Machin-like formula . 27 6.2 Two-term formula . 27 6.3 Complex factors . 28 6.3.1 Euler’s formula . 30 6.3.2 Machin’s formula . 30 6.3.3 Hermann’s formula . 30 6.3.4 Hutton’s formula .
    [Show full text]
  • On Complex Approximation
    Pacific Journal of Mathematics ON COMPLEX APPROXIMATION LAWRENCE CARL EGGAN AND EUGENE A. MAIER Vol. 13, No. 2 April 1963 ON COMPLEX APPROXIMATION L. C. EGGAN and E. A. MAIBR 1. Let C denote the set of complex numbers and G the set of Gaussian integers. In this note we prove the following theorem which is a two-dimensional analogue of Theorem 2 in [3]. THEOREM 1. If β,yeC, then there exists ueG such that I β — u 1 < 2 and (27/82 As an illustration of the application of Theorem 1 to complex approximation, we use it to prove the following result. THEOREM 2. If θeC is irrational and aeC, a Φ mθ + n where m,neG, then there exist infinitely many pairs of relatively prime integers x,yeG such that I x(xθ -y - a)\< 1/2 . The method of proof of Theorem 2 is due to Niven [6]. Also in [7], Niven uses Theorem 1 to obtain a more general result concerning complex approximation by nonhomogeneous linear forms. Alternatively, Theorem 2 may be obtained as a consequence of a theorem of Hlawka [5]. This was done by Eggan [2] using Chalk's statement [1] of Hlawka's Theorem. 2 Theorem 1 may be restated in an equivalent form. For u,b,ce C, define g(u, b, c) = \u — (b + c)\\ u — (b — c)\ . Then Theorem 1 may be stated as follows. THEOREM 1'. If b, ce C, then there exist ulf u2eG such that (i) I uλ - (6 + c) \< 2, I u2 - (6 - c) |< 2 and for i = 1,2, 27/32 ίf (nr )\ g(Ui,( b,c)K ^ < \ί M<l/Π/32 It is clear that Theorem 1' implies Theorem 1 by taking Received February 14, 1962.
    [Show full text]
  • Chapter 1. Finite Difference Approximations
    “rjlfdm” 2007/4/10 i i page 3 i i Copyright ©2007 by the Society for Industrial and Applied Mathematics This electronic version is for personal use and may not be duplicated or distributed. Chapter 1 Finite Difference Approximations Our goal is to approximate solutions to differential equations, i.e., to find a function (or some discrete approximation to this function) that satisfies a given relationship between various of its derivatives on some given region of space and/or time, along with some boundary conditions along the edges of this domain. In general this is a difficult problem, Q2 and only rarely can an analytic formula be found for the solution. A finite difference method proceeds by replacing the derivatives in the differential equations with finite difference approximations. This gives a large but finite algebraic system of equations to be solved in place of the differential equation, something that can be done on a computer. Before tackling this problem, we first consider the more basic question of how we can approximate the derivatives of a known function by finite difference formulas based only on values of the function itself at discrete points. Besides providing a basis for the later development of finite difference methods for solving differential equations, this allows us to investigate several key concepts such as the order of accuracy of an approximation in the simplest possible setting. Let u.x/ represent a function of one variable that, unless otherwise stated, will always be assumed to be smooth, meaning that we can differentiate the function several times and each derivative is a well-defined bounded function over an interval containing a particular point of interest xN.
    [Show full text]
  • Chebyshev Approximation by Exponential-Polynomial Sums (*)
    Chebyshev approximation by exponential-polynomial sums (*) Charles B. Dunham (**) ABSTRACT It is shown that best Chebyshev approximations by exponential-polynomial sums are character- ized by (a variable number of) alternations of their error curve and are unique. Computation of best approximations via the Remez algorithm and Barrodale approach is considered. Let [a, 3] be a closed finite interval and C[a, 3] be are distinct and nonzero (in the case m = 0 we will the space of continuous functions on [a, 3]. For permit one of a n + 1 ..... a2n to be zero). It is easily g ~ C [a, 3] define seen that any parameter has an equivalent standard parameter. The degeneracy d (A) of a standard parameter Itgll=max (Ig(x)l:a<x<3). A is the number of zero coefficients in a I ..... a n. The Let w be a positive element of C[a, 3], an ordinary degree of F at standard parameter A is defined to be multiplicative weight function. For given fLxed n > 0, 2n + m - d (A). m >/ 0 define n m k-1 Haar subspaces F (A, x) = k~=l a k exp (an + k x) + k Z=I a2n + kX Definition The Chebyshev problem is given f~ C[a, 3] to find a A linear subspace of C [a, 3] of dimension ~ is a Haar parameter A* to minimize IIw(f-F(A, .))II. Such a subspace on [a, 3] if only the zero element has ~ zeros parameter A* is called best and F(A*, .) is called a on [a, 31.
    [Show full text]
  • Rational Approximations to Irrationals
    Rational Approximation Math 105 History of Mathematics Prof. D. Joyce, Clark University Early in the study of the history of mathematics, we come across various rational approx- imations to irrational numbers. What I mean by that is that when what we know to be an irrational number was used in a computation, a rational number was used instead. A 22 well known example of this is Archimedes’ approximation 7 of the irrational number π. Of 22 course, 7 is not exactly equal to π, but it’s pretty close. The question is, how did Archimedes ever come up with this approximation? The answer is known how Archimedes and the Greeks before him found these approximations, but you may not have seen it before. It’s sometimes called antenaresis or the method of continued fractions, and it’s related to Euclid’s algorithm for finding the greatest common divisor. Long before Archimedes, others used rational approximations in Egypt, Babylonia, India, and China. They may have used the same method, but in those cases, there is no record of the method. There are other methods that have been used in specific instances, but when you see a denominator, like 7, that has nothing to do with the numerical base—usually 10, sometimes 60—that’s a good indication that antenaresis was used. What is this method? Let’s take an example to see how it goes. Suppose we’re trying to “square the circle,” that is, find a square whose area equals the area of a given circle. The ratio of the side of the resulting square to the diameter of the original circle will be an irrational number, so an approximation will have to be used in computations.
    [Show full text]
  • Order Padé Approximation of Function and the Improvements
    mathematics Article A Few Iterative Methods by Using [1, n]-Order Padé Approximation of Function and the Improvements Shengfeng Li 1,* , Xiaobin Liu 2 and Xiaofang Zhang 1 1 Institute of Applied Mathematics, Bengbu University, Bengbu 233030, China; [email protected] 2 School of Computer Engineering, Bengbu University, Bengbu 233030, China; [email protected] * Correspondence: [email protected]; Tel.: +86-552-317-5158 Received: 15 November 2018; Accepted: 30 December 2018; Published: 7 January 2019 Abstract: In this paper, a few single-step iterative methods, including classical Newton’s method and Halley’s method, are suggested by applying [1, n]-order Padé approximation of function for finding the roots of nonlinear equations at first. In order to avoid the operation of high-order derivatives of function, we modify the presented methods with fourth-order convergence by using the approximants of the second derivative and third derivative, respectively. Thus, several modified two-step iterative methods are obtained for solving nonlinear equations, and the convergence of the variants is then analyzed that they are of the fourth-order convergence. Finally, numerical experiments are given to illustrate the practicability of the suggested variants. Henceforth, the variants with fourth-order convergence have been considered as the imperative improvements to find the roots of nonlinear equations. Keywords: nonlinear equations; Padé approximation; iterative method; order of convergence; numerical experiment 1. Introduction It is well known that a variety of problems in different fields of science and engineering require to find the solution of the nonlinear equation f (x) = 0 where f : I ! D, for an interval I ⊆ R and D ⊆ R, is a scalar function.
    [Show full text]