There's a hall with 100 seats. I want to fill up these seats with men, women and children; they're going to purchase seat positions. The cost per seat for men is 5 USD, women 1 USD, and children 0.05 USD. I want to get 100 USD from selling all 100 seats. How many men, women and children would be needed to fill up the 100 seats and land me 100 USD? Condition: there has to be at least one of each (man, woman and child).
I've formulated 2 equations ($m$, $w$ and $c$ denote the number of men, women, and children respectively):
$$5m + w + 0.05c = 100$$ $$m + w + c = 100$$
The first one is for the price (price/person * number of persons) giving me the 100 USD. The second equation is just the total of the persons which is obviously 100, because there are 100 seats that I need to fill. That's two equations and three variables! What do I do?!
Now, I actually know the answer to this, but I got this answer by just plugging in random numbers and guessing until I got it. I'm not too into math and stuff, but shouldn't a problem like this be possible to be solved with equations to get a definite answer, or is there some...thing...that makes this problem only solvable through iterations? Maybe there's more than one answer and the actual mathematical answer is some sort of "range", or another equation.