document.write( "Question 254150: In a barn with cows and chickens, the number of legs was 16 more than twice the number of heads. How many cows were in the barn? \n" ); document.write( "
Algebra.Com's Answer #186457 by palanisamy(496)![]() ![]() ![]() You can put this solution on YOUR website! Let the number of cows = x \n" ); document.write( "Let the number of chickens = y \n" ); document.write( "Total number of heads = x+y \n" ); document.write( "Every cow has 4 legs and every chicken has 2 legs \n" ); document.write( "Total number of legs = 4x+2y \n" ); document.write( "Given, the number of legs was 16 more than twice the number of heads. \n" ); document.write( " 4x+2y = 2(x+y)+16 \n" ); document.write( " 4x+2y = 2x+2y+16 \n" ); document.write( " 2x = 16 \n" ); document.write( " x = 8 \n" ); document.write( "Therefore the number of cows = 8 \n" ); document.write( " |