A store had 250 bottles of water. Each week, 40% of the bottles were sold and 48 new bottles arrived in shipments. Which recursive function best represents the number of bottles of water in the store?

a. f(n ) = f(n - 1) • 0.4 + 48, n > 0.
b. f(n ) = 250 - f(n - 1) • 0.4 + 48, n > 0.
c. f(n ) = f(n - 1) • 0.6 + 48, n > 0.
d. f(n ) = 250 - f(n - 1) • 0.6 + 48, n > 0.

Respuesta :

Given: 
Initial number of bottles = 250
Every week = 40% is sold and 48 bottles arrive.

Week1 = 250 - (250 x 0.40) + 48 = 250 - 100 + 48 = 198
Week 2 = 198 - (198 x 0.40) + 48 = 198 - 79 + 48 = 167

Answer is: c. f(n ) = f(n - 1) • 0.6 + 48, n > 0. 


The recursive function is f(n ) = f(n - 1) • 0.6 + 48, n > 0; option C

What is a recursive function?

A recursive function is a function in code that refers or calls to itself for execution.

The execution of the function may occur repeatedly several times, producing the result at the end of each run.

Given data:

Initial number of bottles = 250

Every week = 40% is sold and 48 bottles arrive.

For the first week, W1 = 250 - (250 x 0.40) + 48 = 250 - 100 + 48 = 198

For the second week, W2 = 198 - (198 x 0.40) + 48 = 198 - 79 + 48 = 167

Therefore, the recursive function is f(n ) = f(n - 1) • 0.6 + 48, n > 0.

Learn more about recursive function at: https://brainly.com/question/489759

#SPJ5