60,127 views
12 votes
12 votes
James works at a toy store, and he notices that at the end of his first hour 32% of all the toys have been sold. At the end of his second hour, 32% of the toys that were there at the end of the first hour had been sold, and so on. Write a recursive function for what percent of toys, t, are still in the still after n hours have passed.

Assuming he started with 300 toys, and James can go home when there are less than 5 toys left, how many hours will James be working, assuming they check the toy count every hour? If the function only keeps track of how many toys there are while James is working, what does the domain of the function become?

User Ofer Velich
by
2.9k points

1 Answer

20 votes
20 votes

Answer:

Explanation:

User Hiena
by
3.0k points