Answer:320 children and 262 adults swam in the public pool
Explanation:
Let x represent the number of children that swam in the public pool.
Let y represent the number of adults that swam in the public pool.
582 people used the public swimming pool. This means that
x + y = 582
The daily prices are $1.50 for children and $2.00 for adults. The receipts for admission totaled to $1004.00. This means that
1.5x + 2y = 1004 - - - - - - - - - -1
Substituting x = 582 - y into equation 1, it becomes
1.5(582 - y) + 2y = 1004
873 - 1.5y + 2y = 1004
- 1.5y + 2y = 1004 - 873
0.5y = 131
y = 131/0.5 = 262
Substituting y = 262 into x = 582 - y, it becomes
x = 582 - 262 = 320