Assume that a CPU can perform a multiplication operation in 9nsand an addition or a subtraction in 1ns.
a. How long will it take for the CPU to calculate the result offollowing equation assuming that we only have 1 multiplier and 1adder?
x = a * b * c * d + a * e
b. If possible, optimize the equation so that it takes less time.What is the best-case running time for the calculation of theequation? What if we have 2 multipliers and 1 adder?
Expert Answer
An answer will be send to you shortly. . . . .