Answered

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

Answer :

kylestendel
X: represents how many weeks
N: represents books per week
B: represents books she has at anytime

So the recursive formula would be: 100 - XN = B
JeanaShupp

Answer:  [tex]100-wn[/tex] , where w is the number of weeks (natural number) .

Step-by-step explanation:

Given: Ashley has 100 books that she wants to give away at the rate of n books per week.

Let 'w' be the number of weeks .

Then after first week w=1,

The number of books Ashley has after first week = [tex]100-n[/tex]

[Since she wants to give away at the rate of n books per week.]

Then after second week w=2,

The number of books Ashley has after second week = [tex]100-n-n=100-2n[/tex]

Then after third week w=3,

The number of books Ashley has after third week = [tex]100-2n-n=100-3n[/tex]

Similarly for w weeks, the number of books Ashley has after w weeks =[tex]100-wn[/tex]

Hence, the recursive function that gives the number of books Ashley has at any time is [tex]100-wn[/tex], where w is the number of weeks.

Other Questions