Solve a Recurrence Relation - Maple Programming Help

Solve a Recurrence Relation

 Description Solve a recurrence relation.

Define a recurrence relation.

 >
 ${f}{}\left({n}\right){=}{3}{}{f}{}\left({n}{-}{1}\right){-}{2}{}{f}{}\left({n}{-}{2}\right)$ (1)

Solve the recurrence relation for the specified function.

 > $\mathrm{rsolve}\left(,f\left(k\right)\right)$
 ${2}{}{f}{}\left({0}\right){-}{f}{}\left({1}\right){-}\left({f}{}\left({0}\right){-}{f}{}\left({1}\right)\right){}{{2}}^{{k}}$ (2)
 Commands Used