Can someone please help me with this recurrences?
T(n)=3T(n - 1)+3
Explanation of steps would be greatly appreciated.
Can someone please help me with this recurrences?
T(n)=3T(n - 1)+3
Explanation of steps would be greatly appreciated.
Copyright © 2021 Jogjafile Inc.
By educated guess, we can try a constant value, let
t.is solved by
t = -3/2.Now consider
U(n) = T(n) + 3/2. The recurrence turns toor
Obviously,