+0  
 
0
910
1
avatar

A farmer went to your bank to ask for a loan. The bank agreed on offering $100 as long as the farmer would be able to buy exactly 100 animals with those $100. The only rule of the agreement was that the farmer would buy at least one of each of the following animals: ox, pigs and sheeps. Each ox costs $10. Each pigs costs $3, and the sheeps costs, each, $0.50. How many animals of each kind did the farmer buy?

 May 9, 2015

Best Answer 

 #1
avatar
+8

Assume: the number of ox=x, pigs=y, sheeps=100-x-y

so, 10x+3y+0.5(100-x-y)=100

     10x+3y+50-0.5x-0.5y=100

                           19x+5y=100

since x,y can only be integer, so x=5, y=1

so, ox=5, pigs=1,sheeps=94

 May 9, 2015
 #1
avatar
+8
Best Answer

Assume: the number of ox=x, pigs=y, sheeps=100-x-y

so, 10x+3y+0.5(100-x-y)=100

     10x+3y+50-0.5x-0.5y=100

                           19x+5y=100

since x,y can only be integer, so x=5, y=1

so, ox=5, pigs=1,sheeps=94

Guest May 9, 2015

0 Online Users