At a bowling alley, the cost of shoe rental is $2.25 and the cost per game is $4.25. 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 225 and the cost per game is 425 If f n represents the total cost of shoe rental and n games what is the recursive class=

Respuesta :

SOLUTION:

The cost of shoe rental is $2.25 and the cost per game is $4.25.

If f(n) represents the total cost of shoe rental and n games.

Then;

[tex]\begin{gathered} Shoe\text{ }rental\text{ }cost=2.25 \\ Cost\text{ }for\text{ }n\text{ }games=4.25n \\ Total\text{ }Cost=2.25+4.25n \end{gathered}[/tex]

We need a recursive formula for this, relating the previous and the present term, the difference between both terms is 4.25. Thus;

[tex]f(n)=4.25+f(n-1),f(0)=2.25[/tex]