208k views
0 votes
If f(1)=7 and f(n)=f(n-1)+5 then find the value of f(5)

User Bryce S
by
4.3k points

1 Answer

2 votes
Given f(1) = 7, find f(0) using f(n) = 5f(n-1). This is a recursive formula so you can solve for each term using the previous term.
Solve for f(2)=5f(1)=35
then f(3)=5f(2)=5(35)=175,
f(4)=5f(3)=5(175)=875,
finally, f(5)=5f(4)=5(875)=4,375
User Anirudh Ramanathan
by
4.2k points