subject
Mathematics, 06.05.2020 00:18 neptunesx

The conventional way of multiplying two n-bit integers requires O(n2) time. There are much better ways of multiplying long integers, based on a divide-and-conquer approach. For example, we can break each n-bit integer into n/2-bit halves, and produce the result by making 3 recursive calls to n/2-bit multiplications (which are themselves done in this clever way) and several additions of n/2-bit integers. Since addition of n-bit numbers only requires O(n) time, you get a recurrence for the running time of T(n) = 3T(n/2) + cn for some constant c (which, asymptotically, doesn't matter). This algorithm is sometimes referred to as the "Karatsuba-Ofman (KO) Algorithm." Hypothetically, we can beat the KO approach if we can break our two n-bit numbers into y pieces of length n/y, and perform the multiplication of n-bit numbers by using x recursive multiplications of n/y bit numbers plus any constant number of additions of n/y-bit numbers. What is the relationship between x and y that would make this hypothetical algorithm have a lower running time than the KO Algorithm? Identify one such pair below. Note, because the exact calculation requires the computation of logarithms, you may wish to find and use a scientific calculator of some sort.

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 20:30
Janet is rolling a number cube with the numbers one through six she record the numbers after each row if she rolls of keep 48 times how many times should she expect to roll a 4
Answers: 1
question
Mathematics, 22.06.2019 00:00
During the election for class president, 40% of the students voted for kellen, and 60% of the students voted for robbie. 500 students voted in total. how many more students voted for robbie than for kellen? answer with work : )
Answers: 1
question
Mathematics, 22.06.2019 02:00
15 oranges weigh 3.75 kilograms (kg). if each orange weighs approximately the same, approximately how much does each orange weigh?
Answers: 3
question
Mathematics, 22.06.2019 04:30
Someone this is due ! > .< create an equation that can be used to find the value of x? hint: what type of angle pair do you see? here are the questions to answer, after you create an equation: 1) what should be the total amount used for this type of angle pair? explain how you know. 2) what is the answer to your equation for "x"? 3) after you find your answer for "x" in your equation, find the degree measurement for angle aed?
Answers: 1
You know the right answer?
The conventional way of multiplying two n-bit integers requires O(n2) time. There are much better wa...
Questions
question
Arts, 05.11.2020 20:50
question
English, 05.11.2020 20:50
question
Mathematics, 05.11.2020 20:50
question
Mathematics, 05.11.2020 20:50
question
English, 05.11.2020 20:50
question
English, 05.11.2020 20:50
Questions on the website: 13722360