solve the following recurrence relations a. π(π) = π( π/4) + π( π/2 ) + π^2 b. T(n) = T(n/5) + T(4n/5) + n c. π(π) = 3π( n/4 ) + ππ^2 f. π(π) = (π/πβ5) * π(π β 1) + 1 g. π(π) = π(log π) + log π h. π(π) = π (π^ 1/ 4) + 1 i. π(π) = π + 7 βπ β π(βπ) j. π(π) = π ( 3π/4 ) + 1/root(n)
The Answer to the Question
is below this banner.
Can't find a solution anywhere?
NEED A FAST ANSWER TO ANY QUESTION OR ASSIGNMENT?
Get the Answers Now!You will get a detailed answer to your question or assignment in the shortest time possible.
Here's the Solution to this Question
a.
c.
Comparing withΒ Β :
so, we have:
by Master Theorem:
b.
additive term is exactly the current subproblem size, so T(n) is simply the sum of all numbers that appear in this tree. the:
Β andΒ
so,
g.
for the upper bound:
alsoΒ
so,
j.
using Master Theorem:
so,
h.
i.
letΒ Β , then:
f.