Question 50684
You have exactly $100 to spend. You must get 100 animals. The chicks( C SAY) cost $0.10 each, the pigs ( P SAY )cost $2.00 each, and the sheep( S SAY) cost $5.00 each. You must get some of each animal. How many of each animoal can you get?
C+P+S=100.............1
0.1C+2P+5S=100...........2
EQN.2 - 0.1*EQN.1
1.9P+4.9S=90
C,P,S MUST BE INTEGERS...SO
TRY WITH P=1,2 ETC..FOR P=19,WE GET  
S=(90-1.9P)/4.9=11
HENCE P=19,S=11,C=100-19-11=70