document.write( "Question 8323: A farmer raises pigs & chickens. He has 220 animals with a total of 700 legs. How many pigs does the farmer have? Must show how. Thank you! \n" ); document.write( "
Algebra.Com's Answer #4586 by gsmani_iyer(201)\"\" \"About 
You can put this solution on YOUR website!
\r
\n" ); document.write( "\n" ); document.write( " Let the No. of pigs = x
\n" ); document.write( " Let the no. of chicken = y\r
\n" ); document.write( "\n" ); document.write( " So, x + y = 220 ............... (1) (No. of animals)\r
\n" ); document.write( "\n" ); document.write( " 4x + 2y = 700 .............. (2) (No. of total legs)
\n" ); document.write( " Eq.(1)*2, we get,
\n" ); document.write( " 2x + 2y = 440 .............. (3)
\n" ); document.write( " Eq.(2) - (3), we get,
\n" ); document.write( " 2x = 340
\n" ); document.write( " So x = 340/2 = 170\r
\n" ); document.write( "\n" ); document.write( " By replacing the value of x in eq.(1), we get\r
\n" ); document.write( "\n" ); document.write( " 170 + y = 220\r
\n" ); document.write( "\n" ); document.write( " y = 220 - 170 = 50\r
\n" ); document.write( "\n" ); document.write( "So, x = 170; y = 50; which means 170 pigs and 50 chicken. Answer\r
\n" ); document.write( "\n" ); document.write( "I hope this is clear to you. \r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "gsm\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );