Discover a world of knowledge at Westonci.ca, where experts and enthusiasts come together to answer your questions. Explore a wealth of knowledge from professionals across various disciplines on our comprehensive Q&A platform. Experience the ease of finding precise answers to your questions from a knowledgeable community of experts.

At a bowling alley, the cost of shoe rental is $2.75 and the cost per game is $4.75. If f (n) represents the total cost of shoe rental and n games, what is the recursive equation for f (n)?

At A Bowling Alley The Cost Of Shoe Rental Is 275 And The Cost Per Game Is 475 If F N Represents The Total Cost Of Shoe Rental And N Games What Is The Recursive class=

Sagot :

Since each game costs $4.75, we need to add this quantity to the expression every recursive call. Also, we have that f(0) = 2.75, which is the cost of shoe rental.

If we evaluate n = 1 and n = 2 on the following expression, we have:

[tex]\begin{gathered} f(n)=f(n-1)+4.75 \\ f(1)=f(0)+4.75=2.75+2.75=7.5 \\ f(2)=4.75+f(1)=4.75+7.5 \end{gathered}[/tex]

notice that on f(2) we have the cost of one game plus the cost of the previous game and the shoe rental

therefore, the recursive equation for f(n) is f(n) = 4.75 + f(n-1)