Give the general form of a solution to recurrence an = 2an-1 + 3an-2 + 3n
r^2-2r-3=0
Assume a0
general form: an = c1an-1 + c2an-2 + · · · + ckan-k + f(n) where c1, c2, . . . , ck are real numbers and f(n) is some function of n.
That's easy..
Thank you.
Get Answers For Free
Most questions answered within 1 hours.