Question 1021778: There are 13 animals in the barn. Some are chickens and some are pigs. There are 40 legs in all. How many of each animal are there? Answer by macston(5194) (Show Source):
You can put this solution on YOUR website! .
C=chickens; P=pigs
.
C+P=13
P=13-C
.
4P+2C=40
4(13-C)+2C=40
52-4C+2C=40
-2C=-12
C=6
.
P=13-C=13-6=7
.
ANSWER: There are 6 chickens and 7 pigs.
.
CHECK:(leg count)
.
4P+2C=40
4(7)+2(6)=40
28+12=40
40=40