Gary L. answered 10/19/20
Mathematics, VBA/Excel, Engineering Numerical Methods
Let C = Number of Children that entered the park
Let A = Number of Adults that entered the park
Set up the equations:
A + C = 336 Eq.1
3.5C + 6.2A = $1662 Eq.2
Reduce the two equations to one variable (in this case, A):
C = 336 - A Rearrange Eq.1
3.5 * (336 - A) + 6.2A = 1662 Substitute Eq.1 into Eq.2
Solve the above equation for A:
1176 - 3.5A + 6.2A = 1662
2.7A = 1662 - 1176 = 486
A = 180
Solve Eq.1 for C:
C = 336 - 180
C = 156
Verify the solution:
A = 180 : C = 156 (ANS)
A + C = 180 + 156 = 336 (OKAY)
3.5 * 156 + 6.2 * 180 = $1,662 (OKAY)
Hoping this helps you,
Gary