Question

Set up a function can be written as: (si = if)

si n 1 si n 2 77 (n/2]) — 10Т(n/4]) — %п si п > 2. 1 T(п) —D { 8

(a) Solve exactly the recurrence when n is the power of 2, using the method of the characteristic equation and show your steps. (Start by asking n = 2k.)

(b) Explain how to derive the exact order of T (n), i.e., Θ (T (n)), expressed simply.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1 n- - n nEK TO7TE)-107e 9.2 Let S)-T). So S)7SC) 10s(k-)--2 Charactenshe YES,2 +GE let SCK)E a.K2 7SKtos) Tace2 arz a)acak13

5C1 420-2 G-O, G=L K 2Rt 3-K-2K 23K+) ri T) -SCloga (n) (slogaa)+2) 1 T-alog, (n) 1

Add a comment
Know the answer?
Add Answer to:
Set up a function can be written as: (si = if) (a) Solve exactly the recurrence when n is the power of 2, using the met...
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