SOLUTION: A farmer buys 100 animals for $100.00. The animals include at least one cow, one pig, and one chicken, but no other kind. If a cow costs $5.00, a pig costs $1.00, and a chicken c

Algebra.Com
Question 707095: A farmer buys 100 animals for $100.00. The animals include at least one cow, one pig, and one chicken, but no other kind. If a cow costs $5.00, a pig costs $1.00, and a chicken costs $0.50, how many of each did he buy?
Answer by josgarithmetic(39620)   (Show Source): You can put this solution on YOUR website!
w cow ____________$5 each
p pig ____________$1 each
n chicken ________$0.50 each

w+p+n=100, farmer bought 100 animals
Examining the cost: 5*w+1*p+0.5*n=100, farmer spent 100 dollars

w>=1, p>=1, n>=1

By chance, I assumed w=k, just some assumed natural number, and solved the system for p and n. I only used simple algebra-1 stuff; no matrix operations.
Work was then done on system:
p+0.5n=100-5k
p+n=100-k

My initial results were w=k, p=100-9k, n=8k.
One of the specifications was that at least one animal of each kind was bought. I tried k=1 and computed what that would do for w, p, and n. Good results: if k=1, then w=1, p=91, and n=8. Total 100 animals.

RELATED QUESTIONS

A farmer buys 100 animals for $100.00. The animals include at least one cow, one pig,... (answered by ptaylor)
A farmer buys 100 animals for $100 total. The animals include at least 1 cow, 1 pig and (answered by ikleyn)
A pet store owner spent $100 to buy 100 animals. He bought at Least one iguana , one... (answered by ankor@dixie-net.com)
A farmer has 500$, He has to buy 100 animals. A cow costs 10, pig costs 1, and horse... (answered by TimothyLamb)
One horse costs $1000, one pig costs $200, and one chicken costs only $10. A farmer buys... (answered by user_dude2008,solver91311)
Heres the question: A farmer wants to buy 100 animals for $100.00 (must buy at least one (answered by Earlsdon,Soxxie95,ikleyn)
a farmer has to buy 100 animals using only $100. a chicken costs $0.25 a sheep costs... (answered by math_tutor2020)
in a farm there are two kinds of animals chicken and a pig. If the total of the head in... (answered by solver91311)
A farmer has 3 types of animals in his barn: chickens, cows and pigs. The farmer has 80... (answered by ikleyn,Edwin McCravy)