114k views
4 votes
A sequence is defined recursively by f(0)=2 and f(n)=f(n+1)=-2f(n)+3 for n greater than or equal to 0, then f(2) is equal to

1 Answer

6 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 Deepish
by
8.2k points