The divide and average? method, an old-time method for approximating the square root of any positive number
Question:
The divide and average? method, an old-time method for approximating the square root of any positive number ? can be formulated as x = x + a/x / 2.
(a) Write well-structured pseudosode to implement this algorithm as depicted in Figure. ?Use proper indentation so that the structure is clear.
(b) Develop, debug, and document a program to implement this equation in either a high-level language or a macro language of your choice. Structure your code according to Figure.
Transcribed Image Text:
a > 0 tol = 10-5 SquareRoot = 0 %3D r= a/2 y = (r + alx)/2 e = {y - x)/yl e < to! SquareRoot = x LL
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 81% (11 reviews)
a Pseudocode IF a 0 THEN tol 10 5 x a2 DO y x ax2 e y xy x y IF e tol ...View the full answer
Answered By
Aysha Ali
my name is ayesha ali. i have done my matriculation in science topics with a+ . then i got admission in the field of computer science and technology in punjab college, lahore. i have passed my final examination of college with a+ also. after that, i got admission in the biggest university of pakistan which is university of the punjab. i am studying business and information technology in my university. i always stand first in my class. i am very brilliant client. my experts always appreciate my work. my projects are very popular in my university because i always complete my work with extreme devotion. i have a great knowledge about all major science topics. science topics always remain my favorite topics. i am also a home expert. i teach many clients at my home ranging from pre-school level to university level. my clients always show excellent result. i am expert in writing essays, reports, speeches, researches and all type of projects. i also have a vast knowledge about business, marketing, cost accounting and finance. i am also expert in making presentations on powerpoint and microsoft word. if you need any sort of help in any topic, please dont hesitate to consult with me. i will provide you the best work at a very reasonable price. i am quality oriented and i have 5 year experience in the following field.
matriculation in science topics; inter in computer science; bachelors in business and information technology
_embed src=http://www.clocklink.com/clocks/0018-orange.swf?timezone=usa_albany& width=200 height=200 wmode=transparent type=application/x-shockwave-flash_
4.40+
11+ Reviews
14+ Question Solved
Related Book For
Numerical Methods For Engineers
ISBN: 9780071244299
5th Edition
Authors: Steven C. Chapra, Raymond P. Canale
Question Posted:
Students also viewed these Numerical Analysis questions
-
Any transportation problem can be formulated as an assignment problem. To illustrate the idea, determine an assignment problem that could be used to find the optimal solution to the transportation...
-
The divide and average methods, an old-time method for approximating the square root of any positive number ; can be formulated as x = x + a/x/2. Prove that this is equivalent to the Newton-Raphson...
-
Explain exactly how a paired t-test can be formulated as a one-mean t-test.
-
You use the following data to calculate your stock value. Assume you use the historical geometric average growth rate (rounded to 2 decimals) for initial growth rate for 4 years. Then you believe it...
-
Identify the class width, class midpoints, and class boundaries for the given frequency distribution. Also identify the number of individuals included in the summary. The frequency distributions are...
-
Indicate the type of solid (molecular, metallic, ionic, or covalent network) for each compound: (a) InAs, (b) MgO, (c) HgS, (d) In, (e) HBr.
-
When should an order be placed? LO.1
-
Listed are transactions of the Town of Jackson. 1. A budget consisting of estimated revenues of $1,950,000 and appropriations for expenditures of $1,800,000 was passed by the town council. 2....
-
Bramble House Inc. had the following condensed statement of financial position at December 31, 2019: BRAMBLE HOUSE INC. Statement of Financial Position December 31, 2019 Cash Current assets...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
The following algorithm is designed to determine a grade for a course that consists of quizzes, homework, and a final exam: Step 1: Input course number and name. Step 2: Input weighting factors for...
-
An amount of money P is invested in an account where interest is compounded at the end of the period. The future worth F yielded at an interest rate i after n periods may be determined from the...
-
A typical nuclear power plant generates electricity at the rate of 1000 MW. The efficiency of transforming thermal energy into electrical energy is 1/3 and the plant runs at full capacity for 80% of...
-
In this scenario you are the Manager of a Home and Community Care organization in Victoria. Your organization provides oversees support services for individuals in their homes. The individuals that...
-
find the wind speed and direction for the following parcels. Important note: To determine the arc tangent using the Google calculator, click the box marked "Inv" so that it is a light gray instead of...
-
As consumers we're connected to an instant feed or live updates, breaking news, and messages. We believe that when we post something on social media, we will get instant feedback from friends. What...
-
Describe the process for screening candidates for ethics. Outline which job candidate factors are illegal to consider when hiring. Explain how to obtain accurate behavior information from resumes,...
-
In relation to Operation management, sustainability and supply chain management explain the following terms; What is the overall objective of scheduling? What is JIT? What is a Lean producer? Discuss...
-
What two ratios measure factors that affect profitability? AppendixLO1
-
If a force of F = 50 Ib is applied to the pads at A and C, determine the smallest dimension d required for equilibrium if the spring has an unstretched length of 1 ft. B 1 ft 1 ft F k = 15016/fr 1ft...
-
When 1,5-dibromopentane reacts with ammonia, among several products isolated is a water- soluble compound A that rapidly gives a precipitate of AgBr with acidic AgNO 3 solution. Compound A is...
-
Use the following differential equations to compute the velocity and position of a soccer ball that is kicked straight up in the air with an initial velocity of 40 m/s: Where y = upward distance (m),...
-
Three linked bungee jumpers are depicted in Fig. P25.26. If the bungee cords are idealized as linear springs (i.e., governed by Hooke's law), the following differential equations based on force...
-
Use (a) Euler's and (b) the fourth-order RK method to solve Over the range t = 0 to 0.4 using a step size of 0.1 with y(0) = 2 and z(0) = 4. dy dt dzyz dt 2
-
This is a partial adjusted trial batance of Cullumber Compary manualys
-
Which of the following journal entries will record the payment of a $1,500 salaries payable originally incurred for Salaries Expense? Select one: A. Debit Salaries Expense; credit Salaries Payable B....
-
What is the definition of substantially appreciated inventory? A. Inventory with a FMV greater than its basis B. Inventory and unrealized receivables with a FMV greater than their basis C. Inventory...
Study smarter with the SolutionInn App