101k views
4 votes
If f(1)=1 f(2)=2 and f(n)=2f(n-1)+3f(n-2) then find the value of f(6).

User Divanov
by
3.6k points

2 Answers

3 votes

Answer:

-486

Explanation:

User Shereese
by
4.0k points
5 votes

Answer:

f(6) = 182

Explanation:

f(1) = 1

f(2) = 2

f(3) = 2f(2) + 3f(1) = 2(2) + 3(1) = 4 + 3 = 7

f(4) = 2f(3) + 3f(2) = 2(7) + 3(2) = 14 + 6 = 20

f(5) = 2f(4) + 3f(3) = 2(20) + 3(7) = 40 + 21 = 61

f(6) = 2f(5) + 3f(4) = 2(61) + 3(20) = 122 + 60 = 182

User Guillaume Gaujac
by
3.2k points