Q. If f(1)=8 and f(n)=nf(n−1)+1 then find the value of f(3).Answer:
Calculate f(2): We are given that f(1)=8. To find f(3), we need to find f(2) first, using the recursive formula f(n)=nf(n−1)+1.Let's calculate f(2) using f(1).f(2)=2f(1)+1f(2)=2(8)+1f(2)=16+1f(1)=80
Find f(3): Now that we have f(2), we can use it to find f(3) using the same recursive formula.f(3)=3f(2)+1f(3)=3(17)+1f(3)=51+1f(3)=52