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
3.9k 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
5.2k points