Computer Science, asked by maheshkumawatnk8917, 6 hours ago

The recurrence T (n) = 7T (n / 2) + n 2 describes the running time of an algorithm A. Another algorithm B has a running time of T’(n) = k T’(n/ 4) + n 2

Answers

Answered by mrj753824
1

Answer:

From the question the given recurrence relation is T(n)=7T(n/2)+n^2 while its solution is by the master theorem of asymptotic complexity T(n)=Θ(n^log49base4). So, the general formulate of the complexity can be given as the recurrence relation T′(n)=αT′(n/4)+n^2.

So, from the relation we have that, a=α,b=4,f(n)=n^2

n^loga base b=n^logα base 4, for the value of the α>16, f(n)=O(n^logα−ξ) where the ξ>0.

Therefore, for α>16: T′(n)=Θ(n^logα base 4)

Now A has to hold, for becoming asymptotically faster than A':-

n^logα base 4<n^log49 base 4 since the base is e so equating the power we will get:- logα base 4<log49 base 4 So, on solving we will get α<49.

Consequently the value of α so that A′ is asymptotically faster than A will bet the value of 48.

Explanation:

Answered by sonu83ty
0

zindagi guvjvlsqxjbwjg. h debe dh edbj edi nwxd jnebj dq wsjbecjaz xbjrwgch wkkqsbjscjbwdjcrj xec hutixuyecbi ch e xhexieeic hqeuichsq xqwuxwdibuqwecih x

Similar questions