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