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 #204676 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"c\" = number of cows
\n" ); document.write( "Let \"p\" = number of pigs
\n" ); document.write( "Let \"k\" = number of chickens
\n" ); document.write( "given:
\n" ); document.write( "\"10c+%2B+3p+%2B+%281%2F2%29%2Ak+=+100\" dollars
\n" ); document.write( "\"c+%2B+p+%2B+k+=+100\"
\n" ); document.write( "There are 2 equations and 3 unknowns, so it
\n" ); document.write( "can't be solved directly. but you can get there
\n" ); document.write( "There can't be all cows- that would be
\n" ); document.write( "only 10 animals for $100
\n" ); document.write( "There can't be all pigs- that would be
\n" ); document.write( "33 animals for $99
\n" ); document.write( "Say there are 50 chickens and 50 pigs:
\n" ); document.write( "\"k+=+50\" \"%281%2F2%29%2A50+=+25\"
\n" ); document.write( "\"p+=+50\" \"3%2A50+=+150\"
\n" ); document.write( "That's $175 for 100 animals. There must be more
\n" ); document.write( "chickens than pigs
\n" ); document.write( "Let's say:
\n" ); document.write( "\"k+=+60\" \"%281%2F2%29%2A60+=+30\"
\n" ); document.write( "\"p+=+40\" \"3%2A40+=+120\"
\n" ); document.write( "That's $150 for 100 animals
\n" ); document.write( "I have to run, but keep going and you'll get it
\n" ); document.write( "You must have at least 1 cow, too\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );