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