Menu

(Solved) : 3 Substitution Method 30 Pts Use Substitution Directed Solve 5t N 4 N N 4 T N 1 N Q44107865 . . .

3 Substitution Method (30 pts) Use substitution as directed below to solve 5T(n/4) +n if n > 4 T(n) = { 1 if n <3 It is stro1. Write the definition T(n) = 5T(n/4) +n 2. Replace the T(n/4) with your guess” instantiated for n/4 (you can do that by th

3 Substitution Method (30 pts) Use substitution as directed below to solve 5T(n/4) +n if n > 4 T(n) = { 1″ if n <3 It is strongly recommended that you read page 85-86 ”Subtleties” before trying this! (a) First, use the result from the Master Method in Problem 2 as your “guess” and inductive assumption. We will do this without and c: just use the algebraic portion. Take the proof up to where it fails and say where and why it fails. (See steps below.) (b) Redo the proof, but subtracting dn from the guess to construct a new guess.Remember, d is just some constant, so you should determine what d is equal to. (c) Redo the proof by guessing the value of T(n) with the specific value of d that you computed in part (b) above. If you computed T(n) correctly, your proof should succeed. As a reminder, to do a proof by substitution you: 1. Write the definition T(n) = 5T(n/4) +n 2. Replace the T(n/4) with your “guess” instantiated for n/4 (you can do that by the inductive hypothesis because n/4 is smaller than n). 3. Operating only on the right hand side of the equation, transform that side into the exact form of your “guess”. 4. Determine any constraints on the constants involved. 5. Show the base case holds. For this problem you don’t have to worry about the base case. We want you to focus on how to do the other steps. Show transcribed image text 3 Substitution Method (30 pts) Use substitution as directed below to solve 5T(n/4) +n if n > 4 T(n) = { 1″ if n

Expert Answer


Answer to 3 Substitution Method (30 pts) Use substitution as directed below to solve 5T(n/4) +n if n > 4 T(n) = { 1″ if n …

OR