document.write( "Question 317630: A farmer has 100 animals consisting of cows, pigs and chickens. He takes the animals to market and sells all of them for $100.
\n" );
document.write( "He sells cows for $10
\n" );
document.write( "He sells pigs for $3
\n" );
document.write( "He sells chickens 2 for $1
\n" );
document.write( "How many of each animal does he sell? (no 1/2 animals)\r
\n" );
document.write( "\n" );
document.write( "I came up with x+y+z=100 animals...
\n" );
document.write( "and 10x+3y+0.5z=100 dollars
\n" );
document.write( "I believe this needs another equation but I cannot figure it out. Also we are working with arbitrary numbers in class. Thank You! Scott M. \n" );
document.write( "
Algebra.Com's Answer #227584 by ankor@dixie-net.com(22740)![]() ![]() You can put this solution on YOUR website! Cows cost $10, Pigs cost $3, and chickens cost $.50. \n" ); document.write( "He only bought 100 animals and bought at least one of each animal. \n" ); document.write( "He only spent $100. How many of each animal did he buy? \n" ); document.write( ": \n" ); document.write( "Let c = no. of cows; p = no. of pigs; s = no. chickens \n" ); document.write( ": \n" ); document.write( "No. of animals equation: \n" ); document.write( " c + p + s = 100 \n" ); document.write( ": \n" ); document.write( "Cows cost $10, Pigs cost $3, and chickens cost $.50. \n" ); document.write( "the $$ equation: \n" ); document.write( "10c + 3p + .5s = 100 \n" ); document.write( ": \n" ); document.write( "We have two equations but 3 unknowns, however, we know there can't very many cows, \n" ); document.write( "After trying a couple values for no. of cows, came up with 5 cows, \n" ); document.write( "they're worth $50, our two equations then are: \n" ); document.write( ": \n" ); document.write( "p + s = 100 - 5 \n" ); document.write( "p + s = 95 \n" ); document.write( "and \n" ); document.write( "3p + .5s = 100 - 50 \n" ); document.write( "3p + .5s = 50 \n" ); document.write( ": \n" ); document.write( "Multiply the 1st equation by 3 and subtract the 2nd equation: \n" ); document.write( "3p + 3s = 285 \n" ); document.write( "3p + .5s = 50 \n" ); document.write( "---------------- subtracting eliminates p \n" ); document.write( "0p + 2.5s = 235 \n" ); document.write( "s = \n" ); document.write( "s = 94 chickens \n" ); document.write( ": \n" ); document.write( "Find pigs \n" ); document.write( "p + 94 = 95 \n" ); document.write( "p = 95 - 94 \n" ); document.write( "p = 1 pig \n" ); document.write( ": \n" ); document.write( "We have then: 5 cows, 1 pig, 94 chicken \n" ); document.write( "; \n" ); document.write( "; \n" ); document.write( "Check in the cost equation \n" ); document.write( "10(5) + 3(1) + 94(.5) = \n" ); document.write( "50 + 3 + 47 = $100\r \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " |