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

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 18:30, christinaS7696
First to answer all gets a donation question 3(multiple choice worth 1 points) (04.01 lc) which of the following levels is lower than cells in the hierarchy of organization of living things? molecules organs organ systems tissues question 4(multiple choice worth 1 points) (04.01 lc) which of these represents an individual form of life such as an animal, plant, or single-celled life form? organ organism organ system tissue question 5(multiple choice worth 1 points) (04.03 lc) what are the green structures inside plant cells where photosynthesis takes place called? chloroplast mitochondrion nucleus vacuole question 6(multiple choice worth 1 points) (04.03 lc) which of the following best matches a part of a living cell with the function it performs? cytoplasm: fluid which carries the nucleus and other organelles vacuole: fluid which carries the nucleus and other organelles cytoplasm: directs all of the cell's activities vacuole: directs all of the cell's activities question 7(multiple choice worth 1 points) (04.03 mc) read the table below. organelles of plant cells present in both plants and animals present in plants but not animals small in animals but large in plants organelle a organelle b organelle c which statement is most likely correct? organelle a is chloroplast, organelle b is cytoplasm, and organelle c is nucleus. organelle a is mitochondrion, organelle b is cytoplasm, and organelle c is nucleus. organelle a is cell wall, organelle b is chloroplast, and organelle c is mitochondrion. organelle a is mitochondrion, organelle b is chloroplast, and organelle c is vacuole. question 8(multiple choice worth 1 points) (04.03 mc) what will most likely happen in the absence of a nucleus? genetic information will not be transmitted by the cell. energy will not be released during cellular respiration. the cell will not store food, water, nutrients, and waste. the cell will lose its shape and structure.
Answers: 1
image
Mathematics, 21.06.2019 20:00, hdeen7373
How many sides does a regular polygon have if each exterior angle measure is 45 degrees explain your answer, i really don't understand this.
Answers: 1
image
Mathematics, 21.06.2019 21:30, bryantfoster
Helll ! 1,400 tons of wheat of two different varieties was delivered to the silo. when processing one variety, there was 2% of waste and 3% during the processing of the second variety of wheat. after the processing, the amount of remaining wheat was 1,364 tons. how many tons of each variety of wheat was delivered to the silo?
Answers: 1
image
Mathematics, 22.06.2019 03:00, veronicatrejoaguiler
Apply the distributive property to simplify the expression. −4(5x + 2)
Answers: 2
You know the right answer?
The conventional way of multiplying two n-bit integers requires O(n2) time. There are much better wa...

Questions in other subjects: