document.write( "Question 108883: Cows cost $10, pigs cost $3 and chickens cost $0.50. A man buys 100 animals for $100. How many of each animal does he have? he must have at least one of each animal. \n" ); document.write( "
Algebra.Com's Answer #79420 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
C = number of cows
\n" ); document.write( "P = number of pigs
\n" ); document.write( "Ch = number of chickens
\n" ); document.write( "C + P + Ch = 100
\n" ); document.write( "10C + 3P + .5Ch = 100
\n" ); document.write( "Ther are 3 unknowns and only 2 equations, so there is no direct solution
\n" ); document.write( "multiply both sides by 2
\n" ); document.write( "20C + 6P + Ch = 200
\n" ); document.write( "subtract the 1st equation from this one
\n" ); document.write( "20C + 6P + Ch = 200
\n" ); document.write( "C + P + Ch = 100
\n" ); document.write( "19C + 5P = 100
\n" ); document.write( "All you need to apply is some number sense. The 2nd term, 5P
\n" ); document.write( "will either end in 5 if P is odd, or 0 if P is even.
\n" ); document.write( "So if P is odd, 19C has to end in 5 for the sum to end in 0.
\n" ); document.write( "If P is even, 19C has to end in 0.
\n" ); document.write( "Here's some combinations:
\n" ); document.write( "------------------------
\n" ); document.write( "P = 5
\n" ); document.write( "5P = 25
\n" ); document.write( "C = 5
\n" ); document.write( "19C =95
\n" ); document.write( "19C + 5P = 100
\n" ); document.write( "95 + 25 = 120 -too much
\n" ); document.write( "----------------------------
\n" ); document.write( "P = 3
\n" ); document.write( "5P = 15
\n" ); document.write( "C = 5
\n" ); document.write( "19C = 95
\n" ); document.write( "19C + 5P = 100
\n" ); document.write( "95 + 15 = 110 -still too much
\n" ); document.write( "----------------------------
\n" ); document.write( "P = 2
\n" ); document.write( "5P = 10
\n" ); document.write( "C = 10 (note that 10 is the smallest # of cows that makes 19C end in 0)
\n" ); document.write( "19C = 190
\n" ); document.write( "19C + 5P = 100
\n" ); document.write( "190 + 10 = 200 -way too much
\n" ); document.write( "----------------------------
\n" ); document.write( "P = 1
\n" ); document.write( "5P = 5
\n" ); document.write( "C = 5
\n" ); document.write( "19C = 95
\n" ); document.write( "19C + 5P = 100
\n" ); document.write( "95 + 5 = 100 this is the answer
\n" ); document.write( "-----------------------------
\n" ); document.write( "Now find Ch and check both equations
\n" ); document.write( "C + P + Ch = 100
\n" ); document.write( "5 + 1 + Ch = 100
\n" ); document.write( "Ch = 94
\n" ); document.write( "-------
\n" ); document.write( "10C + 3P + .5Ch = 100
\n" ); document.write( "50 + 3 + 47 = 100
\n" ); document.write( "100 = 100
\n" ); document.write( "So, there are 1 Pig, 5 Cows, and 94 Chickens
\n" ); document.write( "
\n" );