it is shown that the number of multiplication needed to compute x100 is 8. Using the same method, how many multiplications are needed to compute x111?
it is shown that the number of multiplication needed to compute x100 is 8. Using the same method, how many multiplications are needed to compute x111?
Algebra and Trigonometry (6th Edition)
6th Edition
ISBN:9780134463216
Author:Robert F. Blitzer
Publisher:Robert F. Blitzer
ChapterP: Prerequisites: Fundamental Concepts Of Algebra
Section: Chapter Questions
Problem 1MCCP: In Exercises 1-25, simplify the given expression or perform the indicated operation (and simplify,...
Related questions
Question
it is shown that the number of multiplication needed to compute x100 is 8. Using the same method, how many multiplications are needed to compute x111?
![Example 1.1.1: Exponentiation
// Let us remind you that if n is an integer greater than one then x" denotes the
// product of n x's; x' is x itself; x° equals 1; and, if x + 0 then x
// Then (x") x (x") = x" + " and (x")" = x"n for all integers m and n.
denotes 1/x".
Evaluating x'
100
would seem to require 99 multiplications, but it can be done with
far fewer as follows:
multiply x
multiply x? by x²
multiply x
multiply x by x3
multiply x16 by x16 to obtain x32
multiply x2 by x2 to obtain x64.
to obtain x?
to obtain x4
to obtain x
to obtain x16
by x
by x4
Now multiply x4 by x" to obtain x6 and multiply x by x* to obtain x100.
The total number of multiplications was only 8.
// How many multiplications would be required to evaluate x23, x204, or x2005?
The first stage of the algorithm used 6 squaring operations to obtain x?
for j = 1, 2, ..
6, and the second stage used the fact that
100 = 64+ 32 +4 = 26 +25 + 22.
Do you think that every positive integer can be expressed as a sum of certain,
distinct powers of 2? If we were to use RPM to multiply 1 times 1,349, we would get
A
В
1
1349
2
674
4
337
168
16
84
32
42
64
21
128
10
256
5
512
2
1024
1
1349
2°, then the rest of the A-values are
When A is given the initial value 1
consecutive powers of 2, and the product returned by RPM is the initial value of B
expressed as a sum of distinct powers of 2.
%3D](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fa4792360-22b4-40c0-a48a-02ce03c9f6f7%2Fccbb667c-8901-4fa5-8c05-97e5657187cf%2F4o6n505_processed.png&w=3840&q=75)
Transcribed Image Text:Example 1.1.1: Exponentiation
// Let us remind you that if n is an integer greater than one then x" denotes the
// product of n x's; x' is x itself; x° equals 1; and, if x + 0 then x
// Then (x") x (x") = x" + " and (x")" = x"n for all integers m and n.
denotes 1/x".
Evaluating x'
100
would seem to require 99 multiplications, but it can be done with
far fewer as follows:
multiply x
multiply x? by x²
multiply x
multiply x by x3
multiply x16 by x16 to obtain x32
multiply x2 by x2 to obtain x64.
to obtain x?
to obtain x4
to obtain x
to obtain x16
by x
by x4
Now multiply x4 by x" to obtain x6 and multiply x by x* to obtain x100.
The total number of multiplications was only 8.
// How many multiplications would be required to evaluate x23, x204, or x2005?
The first stage of the algorithm used 6 squaring operations to obtain x?
for j = 1, 2, ..
6, and the second stage used the fact that
100 = 64+ 32 +4 = 26 +25 + 22.
Do you think that every positive integer can be expressed as a sum of certain,
distinct powers of 2? If we were to use RPM to multiply 1 times 1,349, we would get
A
В
1
1349
2
674
4
337
168
16
84
32
42
64
21
128
10
256
5
512
2
1024
1
1349
2°, then the rest of the A-values are
When A is given the initial value 1
consecutive powers of 2, and the product returned by RPM is the initial value of B
expressed as a sum of distinct powers of 2.
%3D
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![Algebra and Trigonometry (6th Edition)](https://www.bartleby.com/isbn_cover_images/9780134463216/9780134463216_smallCoverImage.gif)
Algebra and Trigonometry (6th Edition)
Algebra
ISBN:
9780134463216
Author:
Robert F. Blitzer
Publisher:
PEARSON
![Contemporary Abstract Algebra](https://www.bartleby.com/isbn_cover_images/9781305657960/9781305657960_smallCoverImage.gif)
Contemporary Abstract Algebra
Algebra
ISBN:
9781305657960
Author:
Joseph Gallian
Publisher:
Cengage Learning
![Linear Algebra: A Modern Introduction](https://www.bartleby.com/isbn_cover_images/9781285463247/9781285463247_smallCoverImage.gif)
Linear Algebra: A Modern Introduction
Algebra
ISBN:
9781285463247
Author:
David Poole
Publisher:
Cengage Learning
![Algebra and Trigonometry (6th Edition)](https://www.bartleby.com/isbn_cover_images/9780134463216/9780134463216_smallCoverImage.gif)
Algebra and Trigonometry (6th Edition)
Algebra
ISBN:
9780134463216
Author:
Robert F. Blitzer
Publisher:
PEARSON
![Contemporary Abstract Algebra](https://www.bartleby.com/isbn_cover_images/9781305657960/9781305657960_smallCoverImage.gif)
Contemporary Abstract Algebra
Algebra
ISBN:
9781305657960
Author:
Joseph Gallian
Publisher:
Cengage Learning
![Linear Algebra: A Modern Introduction](https://www.bartleby.com/isbn_cover_images/9781285463247/9781285463247_smallCoverImage.gif)
Linear Algebra: A Modern Introduction
Algebra
ISBN:
9781285463247
Author:
David Poole
Publisher:
Cengage Learning
![Algebra And Trigonometry (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780135163078/9780135163078_smallCoverImage.gif)
Algebra And Trigonometry (11th Edition)
Algebra
ISBN:
9780135163078
Author:
Michael Sullivan
Publisher:
PEARSON
![Introduction to Linear Algebra, Fifth Edition](https://www.bartleby.com/isbn_cover_images/9780980232776/9780980232776_smallCoverImage.gif)
Introduction to Linear Algebra, Fifth Edition
Algebra
ISBN:
9780980232776
Author:
Gilbert Strang
Publisher:
Wellesley-Cambridge Press
![College Algebra (Collegiate Math)](https://www.bartleby.com/isbn_cover_images/9780077836344/9780077836344_smallCoverImage.gif)
College Algebra (Collegiate Math)
Algebra
ISBN:
9780077836344
Author:
Julie Miller, Donna Gerken
Publisher:
McGraw-Hill Education