Q. If f(1)=2 and f(n)=4f(n−1)+1 then find the value of f(5).Answer:
Given initial condition: We are given the initial condition f(1)=2 and the recursive formula f(n)=4f(n−1)+1. 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)=4f(2−1)+1 f(2)=4f(1)+1 f(2)=4(2)+1 f(2)=8+1 f(2)=9