Q. If f(1)=7 and f(n)=nf(n−1)+4 then find the value of f(3).Answer:
Calculate f(2): We are given that f(1)=7. To find f(3), we need to first find f(2) using the recursive formula f(n)=nf(n−1)+4. Let's calculate f(2): f(2)=2f(2−1)+4f(2)=2f(1)+4f(2)=2(7)+4f(2)=14+4f(1)=70
Calculate f(3): Now that we have f(2), we can use it to find f(3) using the same recursive formula.Let's calculate f(3):f(3)=3f(3−1)+4f(3)=3f(2)+4f(3)=3(18)+4f(3)=54+4f(3)=58