Charles Z. answered 02/27/23
Engineering and Physics Graduate with Graduate-Level Mathematics
This is a system of linear equations with two constraints:
- Since there are 287 people who went swimming, one constraint is the sum of children (c) plus adults (a), which is c + a = 287
- The cost per child times number of children that went swimming plus the cost per adult times the number of adults that went swimming must total 621.50, so we also have: 1.5*c + 2.5*a = 621.50.
Now we have two equations and two unknowns:
(i) c + a = 287
(ii) 1.5*c + 2.5*a = 621.50
Let's eliminate c by multiplying the equation (i) by -1.5. We get:
-1.5*c - 1.5*a = -430.5
Now we can add it to equation (ii) to get:
a = 191
Substitute the answer for a into equation (i):
c + 191 = 287
We get c = 96.