Let be the number of children and be the number of adults. Then
Since , we must require that . Note that , so .
Since , we must require .
So and .
Hi!
I read this problem in yesterday and I bothers me that I cant put up an equation on how to solve it.
A bunch of people were going to ride a rollercoaster.
A childrens ticket was $15, and an adult ticket was $22.
Tickets were sold for a total of $349.
How many children and adults were there?
Hello, Twig!
This can be solved if you're familiar with Modulo Arithmetic.
But I'll show a primitive algebraic approach.
Let = number of children.A bunch of people were going to ride a rollercoaster.
A childrens ticket was $15, and an adult ticket was $22.
Tickets were sold for a total of $349.
How many children and adults were there?
Let = number of adults.
Note that are nonnegative integers.
The children's tickets were $15 each; they cost a total of dollars.
The adult tickets were $22 each; they cost a total of dollars.
The total ticket sales was $349: .
Solve for
Then: .
. . .[1]
Since is an integer, must be a multiple of 22.
. .
Solve for
. . .[2]
Since is an integer, must be a multiple of 7.
The least value of is: .
Substitute into [2]: .
Substitute into [1]: .
There were 13 children and 7 adults.
Hi!
I am not familiar with the Modulo Arithemtic.
I didnt not understand your explanation. I followed up till the "Solve for A".
Then I dont what you are doing.
PS: I took this problem from my little brothers math book and he is 15....I cant imagine that they would need this complex math.