Question




Question 6 (20 points) Solve the following recurrences using the Master Theorem. T(n) = 2T (3/4)+1 T(n) = 2T (n/4) + va 7(n)
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Master theorem is a way to solve recurrences.It works for the recurrences which are in the form:

T(n) = x * T(n/y) + f(n) where x >= 1 and y > 1

There are following three cases:
1. If f(n) = Θ(nc) where c < Logy(X) then T(n) = Θ(nLogy(x))

2. If f(n) = Θ(nc) where c = Logy(X) then T(n) = Θ(ncLog n)

3.If f(n) = Θ(nc) where c > Logy(X) then T(n) = Θ(f(n))

The solution for the above questions is as follows:

In Tin) = 274 /u) +! comparing the above quafion using the master Theorem with the equation : Ting Ianly) + f(n) [i:2 01 Sic

13). Tin) = 2T (nu) tn comparing the above equation using the master thoosen with the equation: rin: X * Ilnly) + fin) Since

Add a comment
Know the answer?
Add Answer to:
Question 6 (20 points) Solve the following recurrences using the Master Theorem. T(n) = 2T (3/4)+1...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT