Answer:
a. m = 64n
b. m = 4n
c. m = 64n
Explanation:
a) Time complexity in this problem is,
T(n)10 x 2n
For n inputs the old machine takes T seconds,
The new machine is 64 times faster than current machine. Suppose it solves m operation in same time then,
T(m)/T(n) = 64
20m/20n = 64
m = 64n
so it will solve 64n inputs in T Time.
b) Same as above problem, we get,
T(m)/ T(n)= 64
5m^3/5n^3= 64
m^3n^3 =64
m^3 = 64n^3
m = 4n
c) The no of inputs that can be solved on 64 times faster machine is,
T(m)/T(n) = 64
16m/16n = 64
m/n =64
m=64n