Q. If f(1)=9 and f(n+1)=−5f(n)−1 then find the value of f(4)Answer:
Find f(2): We are given that f(1)=9. 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(9)−1f(1)=90f(1)=91
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(−46)−1f(3)=230−1f(3)=229
Find f(4): Finally, we can find f(4) using the value of f(3) we just calculated.Substitute n with 3 to find f(4):f(4)=−5f(3)−1f(4)=−5(229)−1f(4)=−1145−1f(4)=−1146