Q. If f(1)=3 and f(n+1)=−5f(n)+1 then find the value of f(4)Answer:
Find f(2): We are given that f(1)=3. We need to find f(4) using the recursive formula f(n+1)=−5f(n)+1. Let's start by finding f(2).Using the recursive formula, we substitute n with 1 to find f(2):f(2)=−5f(1)+1f(2)=−5(3)+1f(1)=30f(1)=31
Find f(3): Now that we have f(2), we can find f(3) using the same recursive formula. Substitute n with 2 to find f(3):f(3)=−5f(2)+1f(3)=−5(−14)+1f(3)=70+1f(3)=71
Find f(4): Finally, we use f(3) to find f(4). Again, we use the recursive formula and substitute n with 3 to find f(4):f(4)=−5f(3)+1f(4)=−5(71)+1f(4)=−355+1f(4)=−354