In: Computer Science
f(0) = 0;
f(1) = 1;
f(2) = 4;
f(n) = 2 f(n-1) - f(n-2) + 2; n > 2
b)
Solve f(n) as a function of n using the methodology used in class for Homogenous Equations. Must solve for the constants as well as the initial conditions are given.