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, given that f(0) = 250? f(n) = f(n − 1) ⋅ 0.6 + 48, n > 0 f(n) = 250 − f(n − 1) ⋅ 0.4 + 48, n > 0 f(n) = f(n − 1) ⋅ 0.4 + 48, n > 0 f(n) = 250 − f(n − 1) ⋅ 0.6 + 48, n > 0
Answers
Answered by
2
Answer is: f(n ) = f(n - 1) • 0.6 + 48, n > 0.
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: f(n ) = f(n - 1) • 0.6 + 48, n > 0.
Similar questions