182k views
4 votes
I AM SO CONFUSED ????

4. The following function defines a recursive sequence.

f(0) = -4

f(1) = 12

f(n) = -3•f(n -1) - 2•f(n - 2); for n > 1

Which of the following sequences is defined by this recursive function? (4 points)

a) -4, 12, -28, 60,
b) -4, -12, -28, -60,
c) -4, 12, -18, 54,
d) -4, 12, -18, -54,

1 Answer

5 votes
f(2)=-3f(2-1)-2f(2-2)
=-3f(1)-2(0)
=-3*12-2*-4
=-36+8
=-28
we have f0,f1,f2,f3 is last
we know -4,12,-28, i leave it to u to find f(3)
plug in n=3 and solve
User Raginggoat
by
8.1k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories