216k views
22 votes
Ashley has 100 books that she wants to give away at the rate of n books per week. Write a recursive function that represents the number of books Ashley has at any time. The recursive function that gives the number of books Ashley has at any time is ____=______, started at ____.

User Mfirdaus
by
8.2k points

1 Answer

6 votes

Answer:

f(x) = f(x-1) - n <--- this is the recursive formula

f(0) = 100

f(1) = f(0) - n = 100 - n

f(2) = f(1) - n = 100 - n - n = 100 - 2n

f(3) = f(2) - n = 100 - 2n - n = 100 - 3n

in general the EXPLICIT formula is f(x) = 100 - xn , x=0,1,2,3

Explanation:

hope this helps if it is wrong let me know have a blessed day

User Gregstoll
by
7.3k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories