SOLUTION: You have $100 and you want to spend all of it to buy exactly 100 pets- any combination of hamsters, birds, and fish. Hamsters cost $5 each, brids are $10, and fihes are 50cent each

Algebra.Com
Question 427889: You have $100 and you want to spend all of it to buy exactly 100 pets- any combination of hamsters, birds, and fish. Hamsters cost $5 each, brids are $10, and fihes are 50cent each. How many of each kind of pet should you buy?
Answer by ankor@dixie-net.com(22740)   (Show Source): You can put this solution on YOUR website!
You have $100 and you want to spend all of it to buy exactly 100 pets- any combination of hamsters, birds, and fish.
Hamsters cost $5 each, birds are $10, and fishes are 50 cents each.
How many of each kind of pet should you buy?
:
No. of pets equation
h + b + f = 100
:
Cost equation:
5h + 10b + .5f = $100
Multiply the above equation by 2, subtract the 1st equation:
:
10h + 20b + f = 200
h + b + f = 100
------------------------ subtraction eliminates f
9h + 19b = 100
9h = -19b + 100
divide by 9
h = b +
Just looking at this equation, it is apparent there is only one positive integer solution:
b = 1 bird
then
h = (1) +
h =
h = 9 hamsters
then
f = 90 fish
;
:
Check:
5(9) + 10(1) + 90(.5) =
45 + 10 + 45 = $100

RELATED QUESTIONS

You must buy 100 pets and spend $100. You may buy dogs, cats and mice, and you must buy... (answered by ankor@dixie-net.com)
Please help in solving. Need to see how it is solved. David has 10 pets. All his pets... (answered by stanbon)
Could you please assist me with this question, I am trying to help my grandson.... (answered by rfer)
You have $100 and want to buy 100 items priced at $10, $3 and .50. What is the... (answered by Fombitz)
Beth has hamsters at her house. The number of hamsters is equal to the sum of number of... (answered by ptaylor)
Beth has hamsters at her house. The number of hamsters is equal to the sum of the number (answered by stanbon)
Pete and Repeat are brothers. Of course with names like Pete and Repeat they usually... (answered by solver91311)
you have been asked to contribute to a service project benefiting a local organization.... (answered by ikleyn)
THREE FLOWERS- ROSE, JASMINE AND LOTUS 1ROSE=1DOLLAR 20JASMINE=1DOLLAR 1LOTUS=5DOLLAR (answered by solver91311)