document.write( "Question 281733: Farmer wants to buy cows, pigs and chickens. He has $100 and wants to buy total of 100 combined animals. Cows are $10. Pigs are $3. Chickens are $.50. How many of each animal should he buy to get 100 total animals for $100? \n" ); document.write( "
Algebra.Com's Answer #204677 by richwmiller(17219)\"\" \"About 
You can put this solution on YOUR website!
you know there are going to be a lot of chickens and few cows.
\n" ); document.write( "w+p+n=100
\n" ); document.write( "10w+3p+.5n=100\r
\n" ); document.write( "\n" ); document.write( "If there were all chickens he could buy 200 chickens
\n" ); document.write( "If there were all cows he could by 10 cows
\n" ); document.write( "If there were all pigs he could by 33 pigs and have a dollar left over.\r
\n" ); document.write( "\n" ); document.write( "So the numbers need to be between 0 and those upper limits.
\n" ); document.write( "0 < w < 11
\n" ); document.write( "0 < p < 34
\n" ); document.write( "0 < n < 201
\n" ); document.write( "chicken=n=94
\n" ); document.write( "cow=w=5
\n" ); document.write( "pig=p=1
\n" ); document.write( "5*10+94*.5+1*3=100
\n" ); document.write( "50+47+3=100
\n" ); document.write( "94+5+1=100
\n" ); document.write( "
\n" ); document.write( "
\n" );