The average cost of some books is $30.
After 5 new books are added,
it adds another $12 to the total cost.
As a result, the average cost of all the books decreases to $24.
How many books are there at first?
|
Case 1 |
Case 2 |
Number |
1 u |
1 u + 5 |
Value |
30 |
24 |
Total value |
30 u |
24 u + 120 |
Number of books at first = 1 u
Number of books in the end = 1 u + 5
Total cost of books at first
= 30 x 1 u
= 30 u
Total cost of books in the end
= 24 x (1 u + 5)
= 24 u + 120
30 u + 12 = 24 u + 120
30 u - 24 u = 120 - 12
6 u = 108
1 u = 108 ÷ 6 = 18
Number of books at first = 18
Answer(s): 18