On his way to the office each workday (Monday through Friday), Darrell walks by a charitable foundation with a donation bucket set out front. He has decided that he nts to try to be more charitable, so starting next week, he plans to put $1 in donation bucket every day he walks by. He has also estimated that he has already donated $23 to the foundation, Part if x represents the number of weeks thłt Darrell has been making a donation, write a recursive function to represent the total amount he has donated Explain your work​

Respuesta :

Answerer: Darrell has already donated $23 to the foundation, so f (0) =$23.

Because x represents the number of weeks, and Darrell is contributing $1 every day, Monday through Friday, he will contribute a total of $5 per week. So, the total amount donated will increase by $5 each week. Therefore, the recursive function will be f (x) =f(x - 1) + $5, where f ($23).