Q. If f(1)=1 and f(n+1)=−5f(n)−4 then find the value of f(5).Answer:
Given initial condition: We are given the initial condition f(1)=1 and the recursive formula f(n+1)=−5f(n)−4. To find f(5), we need to find the values of f(2), f(3), and f(4) first, using the recursive formula.
Find f(2): Using the recursive formula, let's find f(2): f(2)=−5f(1)−4 f(2)=−5(1)−4 f(2)=−5−4 f(2)=−9