Question: example of solution : 2. Put the following recurrence relation into closed form. T(n)=T(n-1)+5n-1 T(1)=2 T LEO 2. k-1 n-2 i= 0 i= 0 T(n)=T(n-1)+2n3=T(n-
example of solution:

2. Put the following recurrence relation into closed form. T(n)=T(n-1)+5n-1 T(1)=2 T LEO 2. k-1 n-2 i= 0 i= 0 T(n)=T(n-1)+2n3=T(n- k)+2 (n-i) 3 k=T(1)+2 (n-i)-3(n-1) n = 3n-1=n?- 2n+3 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
