2 2. Let = 1+5 1.618 be a solution to 4 = 4+1. Show that...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
2 2. Let = 1+√5 ≈ 1.618 be a solution to 4² = 4+1. Show that the number of iterations (not including the base case) made by Euclid's algorithm on (x, y) is at most log (x + y). Note that this is a slight improvement over the bound of log3/2(x + y) that was shown in class. Hint: Change the potential function from class to s(x, y) = cxy for a suitable constant c. Try using c = 4. Consider the crucial point that +1 = 4² and/or other similar relations satisfied by 4. Solution: 2 2. Let = 1+√5 ≈ 1.618 be a solution to 4² = 4+1. Show that the number of iterations (not including the base case) made by Euclid's algorithm on (x, y) is at most log (x + y). Note that this is a slight improvement over the bound of log3/2(x + y) that was shown in class. Hint: Change the potential function from class to s(x, y) = cxy for a suitable constant c. Try using c = 4. Consider the crucial point that +1 = 4² and/or other similar relations satisfied by 4. Solution:
Expert Answer:
Answer rating: 100% (QA)
To show that the number of iterations made by Euclids algorithm on x y is at most logx y where 1618 ... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
F. Yang invests $30,000 cash and equipment worth $50,000 into a partnership. J. Smith invests $20,000, inventory worth $75,000 and the partnership assumes responsibility for Smith's note payable of...
-
In April 1992, EuroDisney SCA opened its doors to European visitors. Located by the river Marne some 20 miles east of Paris, it was designed to be the biggest and most lavish theme park that Walt...
-
Read the following statements. In response, state True, False or Uncertain and explain why: (a) Since resources have substitutes, nature imposes particular scarcities, not an inescapable general...
-
Taipai Ltd. follows the practice of valuing its inventory at the LCNRV. The following information is available from the company's inventory records as of December 31, 2019 (amounts in thousands)....
-
What occurs when a business pledges its receivables?
-
Explain why the sample variance formula is \[\sum_{i=1}^{N} \frac{\left(y_{i}-\bar{y} ight)^{2}}{N-1}\] instead of \[\sum_{i=1}^{N} \frac{\left(y_{i}-\bar{y} ight)^{2}}{N}\]
-
Five mutually exclusive revenue alternatives that have infinite live s are under consideration for increasing productivity in a manufacturing operation. The initial costs and cash flows of each...
-
The balance sheet for Carla Vista Co. is as follows: Carla Vista Co. Balance Sheet December 31, 2022 Cash $ 24,000 Accounts payable $ 3,800 Accounts receivable 22,700 Salaries and wages payable 2,800...
-
Knockoffs Unlimited, a nationwide distributor of low-cost imitation designer necklaces, has an exclusive franchise on the distribution of the necklaces, and sales have grown so rapidly over the past...
-
Last year, a country had $700 billion in savings and $900 in investment. It has saved $1000 billion and invested $800 billion this year. How much has net capital outflow changed? How much has net...
-
Everyone loves mickey mouse and Donald Duck. Walt Disneys two largest segments are media networks and Parks and recreation. media networks consists of aBC, eSPn, Disney films, newly acquired...
-
Oldhat Financial starts its first day of operations with \($11\) million in capital. A total of \($120\) million in checkable deposits are received. The bank makes a \($30\) million commercial loan...
-
All happy families are the same, to paraphrase Leo Tolstoy. But even unhappy ones are not bad for business. A family index produced by Credit Suisse shows that companies in which the founding family...
-
Explain how a \(5 \times 8\) option contract for May 2009 on electricity with daily exercise works. Explain how a \(5 \times 8\) option contract for May 2009 on electricity with monthly exercise...
-
What happens to reserves at the First National Bank if one person withdraws \($1\),100 of cash and another person deposits \($200\) of cash? Use T-accounts to explain your answer.
-
<40) Problem Set #11 (Ch 11) Exercise 11.69 - Enhanced - with Feedback 10 of 19 I Review I Constants I Periodic Table Part A MISSED THIS? Watch KCV 11.4, IWE 11.8; Read Section 11.8. You can click on...
-
The following T-accounts show postings of selected transactions. Indicate the journal used in recording each of these postings a through e. Cash Accounts Receivable Inventory (d) 500 (e) 300 (b)...
-
Skyler is covered by his company's health insurance plan. The health insurance costs his company $3,500 a year. During the year, Skyler is diagnosed with a serious illness and the health insurance...
-
Scott Butterfield is self-employed as a CPA. He uses the cash method of accounting, and his Social Security number is 644-47-7833. His principal business code is 541211. Scott's CPA practice is...
-
During 2012, Tom sold Sears stock for $10,000. The stock was purchased 4 years ago for $13,000. Tom also sold Ford Motor Company bonds for $35,000. The bonds were purchased 2 months ago for $30,000....
-
Why should projects be linked to the organisation's Strategic Plan?
-
What is the BCG matrix and how is it used?
-
Explain the role projects play in the delivery of an organisation's strategy
Study smarter with the SolutionInn App