document.write( "Question 563486: I am trying to help my daughter with homework and apparently it has been too long since I last did algebra. Can you please help me understand so that I can help her? This is the problem:\r
\n" ); document.write( "\n" ); document.write( "21 animals total , all sheep and chickens.
\n" ); document.write( "56 legs total, how many of the 21 animals are sheep and how many are chickens?\r
\n" ); document.write( "\n" ); document.write( "Thank you.
\n" ); document.write( "

Algebra.Com's Answer #364884 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
Let the number of sheep be x
\n" ); document.write( "Let the number of chikens be x\r
\n" ); document.write( "\n" ); document.write( "x+y = 21.......................(1)\r
\n" ); document.write( "\n" ); document.write( "we all know sheep has 4 legs and chicken has two
\n" ); document.write( "the number of legs are56\r
\n" ); document.write( "\n" ); document.write( "4x+2y=56.......................(2)\r
\n" ); document.write( "\n" ); document.write( "Multiply equation (1) by -2
\n" ); document.write( "we get -2x-2y=-42\r
\n" ); document.write( "\n" ); document.write( "add this equation to (2)
\n" ); document.write( "-2x-2y=-42
\n" ); document.write( "4x+2y=56
\n" ); document.write( "2x= 14
\n" ); document.write( "/2
\n" ); document.write( "x=7 , number of sheep
\n" ); document.write( "so the number of chickens will 21-7 = 14\r
\n" ); document.write( "\n" ); document.write( "CHECK
\n" ); document.write( "14*2+7*4=56\r
\n" ); document.write( "\n" ); document.write( "cheers\r
\n" ); document.write( "\n" ); document.write( "m.ananth@hotmail.ca\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );