90.9k views
3 votes
Find the 1st 4 iterations if f(o)= -2, f(n)= 3f(n-1)-2n

1 Answer

4 votes

Answer:

Explanation:

f(0) = -2

f(1) = 3*(f(1 - 1)) - 2*1

f(1) = 3(-2) - 2

f(1) = - 6 - 2

f(1) = - 8

f(2) = 3*(f(1)) - 2*2

f(2) = 3*(-8) - 4

f(2) = -24 - 4

f(2) = - 28

f(3) = 3*(f(2)) - 2*3

f(3) = 3*-28 - 6

f(3) = -84-6

f(3) = - 90

f(4) = 3*f(3) - 2 * 4

f(4) = 3*-90 - 8

f(4) = -270 - 8

f(4) = -278

User Alhassan
by
4.5k points