Archimedes devised a method for computing by approximating a circle of radius 1/2 by successive...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Archimedes devised a method for computing π by approximating a circle of radius 1/2 by successive polygons and computing the perimeter of these polygons. This results in the iteration to 1+-1 tn+1 = tn and an approximation Tin = 6 -2” (a) Write a function that performs this calculation and plot πn versus n. On a separate graph, plot |π — π| vs. n using a log scale on the y-axis. The command to do this is semilogy. How large can you take n before improvements are limited by roundoff error? How accurately can you compute π? (b) What is the main source of error when n is large? (c) Rewrite the iteration in a way that will reduce this source of error. Repeat the calculation and plot the error in both results on one graph. How large can you take n this time before improvements are limited by roundoff error? How accurately can you compute π now? Archimedes devised a method for computing π by approximating a circle of radius 1/2 by successive polygons and computing the perimeter of these polygons. This results in the iteration to 1+-1 tn+1 = tn and an approximation Tin = 6 -2” (a) Write a function that performs this calculation and plot πn versus n. On a separate graph, plot |π — π| vs. n using a log scale on the y-axis. The command to do this is semilogy. How large can you take n before improvements are limited by roundoff error? How accurately can you compute π? (b) What is the main source of error when n is large? (c) Rewrite the iteration in a way that will reduce this source of error. Repeat the calculation and plot the error in both results on one graph. How large can you take n this time before improvements are limited by roundoff error? How accurately can you compute π now?
Expert Answer:
Answer rating: 100% (QA)
To address this problem well implement the given iteration and analyze the errors involved Well then suggest an improvement to reduce the error a Impl... View the full answer
Related Book For
Posted Date:
Students also viewed these mathematics questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Do some amendment and enhance the given research paper: Table of Content Abstract..3 Action Research.4 Research Methodology and Design...5 Literature Review: NoSQL Database7 Proposal.7 Iteration 1..8...
-
A parametrization of a circle of radius 1 centered at (1, 0) in the xy-plane is given by x = 1 + cos t, y = sin t, for 0 t 2. Find the surface area when this curve is revolved about the y-axis.
-
Write MATLAB code of the question. Do all parts and show code with comments and also attach a screenshot of code and outputs. Using the results of Problem 4.13, verify the following properties of WN...
-
Show the products of thesereactions: 1) Hg(O,CCH,) . 2) NaBH3. NAOH 1) Hg(O,CCH,)2, H,0 2) NaBH4, NaOH b) a) . H SO4 . H2SO4 d) HgSO, H9SO,
-
The following remains constant during a throttling process: (a) internal energy (b) enthalpy (c) pressure (d) temperature
-
Below are income statements and balance sheets for the Peyton Company for 2019 and 2018: Required Calculate the following ratios for the Peyton Company for 2019 and 2018 and discuss your findings: 1....
-
Based on the data presented in Exercise assume that Smart Stream Inc. uses the variable cost concept of applying the cost- plus approach to product pricing. In Exercise, Smart Stream Inc. uses the...
-
The Sipowicz Company retired $500,000 face value, 12% bonds on June 30, 2022, at 102. The carrying value of the bonds at the redemption date was $512,000. The bonds pay annual interest, and the...
-
The High-Flying Growth Company (HFGC) has been growing very rapidly in recent years, making its shareholders rich in the process. The average annual rate of return on the stock in the last few years...
-
State the first and second theorem of welfare economics. Explain the significance of the theorems and show how the theorems relate to the market failure under monopoly. What is your advice regarding...
-
Explain clearly the pricing method of Zero-Growth Stock and Growth Stock, the impact of reinvestment or growth opportunities on Price-Earnings Ratio (PER), and the meaning of PER in making investment...
-
How do ethical leaders navigate ethical gray areas and moral ambiguity in rapidly evolving business landscapes, exercising moral courage and ethical reflexivity to confront ethical challenges,...
-
How do ethical leaders integrate ethical considerations into strategic decision-making processes, balancing short-term business objectives with long-term ethical imperatives to ensure sustainable...
-
Examine the concept of weather derivatives and examine how they are designed to operate. Make a case for the introduction of weather derivative in Ghana based on the experiences of other nations....
-
The following information is available for Baker Industries: Cost of goods manufactured Beginning finished goods inventory Ending finished goods inventory Required: Compute the cost of goods sold....
-
The block of mass m shown in the picture is to be moved at a constant velocity of V up the smooth inclined surface of angle 0. Draw the free body diagram of the block and determine the force F...
-
Which, if any, of the dichloroethene molecules drawn in Data Table II (3.) (4.) and (5.) are geometric isomers? A. B. C. D. cis-1,2-dichloroethene and trans-1,2-dichloroethene...
-
For the following exercises, the cost of producing x cellphones is described by the function C(x) = x 2 4x + 1000. Find the average rate of change in the total cost as x changes from x = 10 to x =...
-
For the following exercises, convert the complex number from polar to rectangular form. z = 3cis(240)
-
For the following exercises, simplify the first trigonometric expression by writing the simplified form in terms of the second expression. cot x; sin x
-
Handy Dan, Inc., operates warehouse-style stores, selling a variety of home building products and lawn and garden supplies. Presented below are Handy Dans historical financial statements for 2014 and...
-
Presented below are profitability ratios for three competitors: Bristol-Myers Squibb (BMY), Pfizer, Inc. (PFE), and Johnson & Johnson (JNJ): Required Compare the relative profitability of the three...
-
Presented below are selected financial statement data for three global energy firms: Required 1. Compare the three firms in terms of their size and their financing strategy. 2. Evaluate the...
Study smarter with the SolutionInn App