120k views
1 vote
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 Flapjack
by
7.5k points

1 Answer

6 votes

Answer:

Total number of books = 100

Number of books Ashley had given away after first week= n

Number of books Ashley had given away after second week= 2n

Number of books Ashley had given away after w week= wn

Books = Total - Number of Books she will give away

Books = 100 - wn

Explanation:

hope this helps

User StasGrin
by
9.1k 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