Jeff S. answered 01/10/21
Excel VBA Consultant
The variables are:
A = Adult Ticket
C = Child Ticket
This gives us two equations:
3A + 4C = 104
2A + 3C = 73
First, we eliminate C and solve for A by multiplying the first equation by 3 and the second equation by -4:
3(3A + 4C = 104)
= 9A + 12C = 312
-4(2A + 3C = 73)
= -8A -12C = -292
Now, add the equations to eliminate C:
9A + 12C = 312
-8A - 12C = -292
A = 20
Now we know an adult ticket costs $20. Next, plug 20 into one of the original equations to solve for C:
2(20) + 3C = 73
3C = 33
C = 11
So, an Adult ticket is $20 and a Child ticket is $11