SOLUTION: There are pigs and chicken in the farm. The total no. of heads and legs of both animals is 100. How many pigs and chicken are there in the farm ?

Algebra.Com
Question 153102: There are pigs and chicken in the farm. The total no. of heads and legs of both animals is 100. How many pigs and chicken are there in the farm ?

Answer by ankor@dixie-net.com(22740)   (Show Source): You can put this solution on YOUR website!
There are pigs and chicken in the farm. The total no. of heads and legs of both animals is 100. How many pigs and chicken are there in the farm?
:
Let p = no. of pigs
Let c = no. of chicks
:
Legs expression:
4p + 2c
;
Head expression:
p + c
:
no. of legs = 100 - no. of heads
:
(4p + 2c) = 100 - (p+c)
4p + 2c = 100 - p - c
4p + p + 2c + c = 100
5p + 3c = 100
5p = 100 - 3c
p = 100/5 - (3/5)c
p = 20 - .6c
;
p has to be an integer, what integer value for c will provide this?
:
Turns out c = multiples of 5 from 5 thru 30 will satisfy
c p
5 17
10 14
15 11
20 8
25 5
30 2
:
Examples
5 chicks have 10 legs + 5 heads total = 15
17 pigs have 68 legs + 17 heads total = 85
and
30 chicks have 60 legs + 30 heads total = 90
2 pigs have 8 legs + 2 heads total = 10



RELATED QUESTIONS

A farmer has 3 types of animals in his barn: chickens, cows and pigs. The farmer has 80... (answered by ikleyn,Edwin McCravy)
A farmer has both pigs and chicken on his farm. There are 78 Feet and 27 Heads. How many (answered by richwmiller)
If there are chicken and pigs on a farm, and there are 24 heads and 98 feet, how many... (answered by oscargut)
in a farm there are two kinds of animals chicken and a pig. If the total of the head in... (answered by solver91311)
A total of 66 animals are in the farm consisting of pigs and turkeys. If there is a total (answered by Positive_EV)
On a farm there are chicken and horses. There are a total of 79 heads and 176 legs. How (answered by Edwin McCravy)
there are 13 animals in the barn.some are chicken some are pigs. there are 40 legs in... (answered by Simnepi,htmentor)
THere are 100 chicken and rabbits on a farm. For a total of 260 legs. How many chickens... (answered by vleith)
if you are not labeling your variables as x and y in word problems, then how do you know... (answered by richard1234)