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
@welshfella
if 40% were sold then that left 60% in stock
YES it would
No because this is the formula for bottles in stock - thats 60% (0.60) not 40% (0.4)
Which one would you have said it is @welshfella ?
right - so which one is left?
It can't be B. It won't make sense, since C is 42 I would figure that it is C.
you start with 250 and at end first week 40% are gone but 48 have been added so?
Okay.
guess i'm tired - I'm a little confused with this now....
I submitted my work and put C and it was right, but thanks for helping!
you start with 250 and at end first week 40% are gone but 48 have been added so?
yw - not sure i have helped!
You did, thanks!
ok yw
Join our real-time social learning platform and learn together with your friends!