document.write( "Question 730582: A farmer has a combined total of 30 pigs and ducks and there is a combined total of 100 legs. \r
\n" ); document.write( "\n" ); document.write( "How many of each animal is there?
\n" ); document.write( "

Algebra.Com's Answer #446783 by Edwin McCravy(20062)\"\" \"About 
You can put this solution on YOUR website!
A farmer has a combined total of 30 pigs and ducks and there is a combined total of 100 legs. How many of each animal is there?
\n" ); document.write( "
\r\n" );
document.write( "There are two ways to do it -- with algebra and without algebra.  \r\n" );
document.write( "I'll do both.  \r\n" );
document.write( "\r\n" );
document.write( "1.  WITHOUT ALGEBRA:\r\n" );
document.write( "There are 100 legs, so there are 50 pairs of legs. \r\n" );
document.write( "\r\n" );
document.write( "Ducks have one pair of legs and pigs have two pairs of leg.\r\n" );
document.write( "\r\n" );
document.write( "If all 30 were ducks, there would only be 30 pairs of legs.\r\n" );
document.write( "\r\n" );
document.write( "But there are 50 pairs of legs, so the extra 20 pairs of legs must\r\n" );
document.write( "belong to the pigs.  \r\n" );
document.write( "\r\n" );
document.write( "So there are 20 pigs and since there are 30 animals there are 10 ducks.\r\n" );
document.write( "\r\n" );
document.write( "------------------------------------------------------\r\n" );
document.write( "\r\n" );
document.write( "2.  WITH ALGEBRA:\r\n" );
document.write( "\r\n" );
document.write( " d +  p = 30\r\n" );
document.write( "2d + 4p = 100\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Solve that system by substitution or elimination and get d=10, p=20\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );