Answer:
f(n) = 0.8 × f(n -1) + 10, n > 0
Step-by-step explanation:
Given,
Original number of laptops, f(0) = 150, ( where, f(n) represents the number of laptops after n months )
∵ Every month, 20% of the laptops were sold and 10 new laptops were stocked in the store.
After 1 month,
The number of laptops, f(1) = original laptops - 20% of the original laptops + 10
= 150 - 20% of 150 + 10
= (100 - 20)% of 150 + 10
= 80% of 150 + 10
= 0.8 × f(0) + 10
Similarly, After 2 months,
The number of laptops, f(2) = 0.8 × f(1) + 10,
After 3 months, number of laptops, f(3) = 0.8 × f(2) + 10,
........ so, on
Thus, by following the pattern,
The number of laptops after n months,
f(n) = 0.8 × f(n -1) + 10, n > 0