Q. If f(1)=8 and f(n)=−5f(n−1)+2 then find the value of f(4)Answer:
Find f(2): We are given that f(1)=8. To find f(4), we need to find the values of f(2), f(3), and then f(4) using the recursive formula f(n)=−5f(n−1)+2.First, let's find f(2) using f(1).f(2)=−5f(1)+2f(1)=80f(1)=81f(1)=82