191k views
1 vote
If a sequence is defined recursively by f(0)=2 and f(n+1)=-2f (n)+3 for n> or equal to 0,what is f(2)?

User Bad Sector
by
5.8k points

1 Answer

3 votes
If you would like to know what is f(2), you can calculate this using the following steps:

f(0) = 2
f(n+1) = - 2 * f(n) + 3
f(1) = - 2 * f(0) + 3 = - 2 * 2 + 3 = - 4 + 3 = - 1
f(2) = - 2 * f(1) + 3 = - 2 * (-1) + 3 = 2 + 3 = 5

The correct result would be f(2) = 5.
User Ryanday
by
6.0k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.